Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004491/0.004491, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9807/0.9807, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.469e-05, allocations: 8.984 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004849/0.004874, allocations: 4.486 MB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.007316, allocations: 1.335 MB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.007777, allocations: 31.75 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.008124, allocations: 178.6 kB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.009192, allocations: 385.5 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.009637, allocations: 223.5 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.01101, allocations: 1.681 MB / 281.8 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.01166, allocations: 0.595 MB / 282.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.01287, allocations: 1.029 MB / 283.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.01391, allocations: 0.8262 MB / 284.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.01419, allocations: 176 kB / 284.4 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.01446, allocations: 187.9 kB / 284.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.01505, allocations: 0.5025 MB / 285.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.01563, allocations: 0.5456 MB / 285.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01679, allocations: 1.34 MB / 287 MB, free: 3.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.0168, allocations: 4 kB / 287 MB, free: 3.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0168, allocations: 0 / 287 MB, free: 3.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.01684, allocations: 3.938 kB / 287 MB, free: 3.676 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001946/0.01879, allocations: 1.623 MB / 288.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.01882, allocations: 8.031 kB / 288.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.01927, allocations: 232.7 kB / 288.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.02007, allocations: 0.6299 MB / 289.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.02012, allocations: 82.44 kB / 289.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02024, allocations: 108.4 kB / 289.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.02116, allocations: 0.8404 MB / 290.5 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.02119, allocations: 3.938 kB / 290.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1067/0.1279, allocations: 42.2 kB / 290.5 MB, free: 25.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/0.128, allocations: 46.58 kB / 290.6 MB, free: 25.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.1286, allocations: 263.3 kB / 290.8 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.1321, allocations: 3.004 MB / 293.8 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.1327, allocations: 417.2 kB / 294.2 MB, free: 24.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.1331, allocations: 312.9 kB / 294.6 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.1331, allocations: 11.94 kB / 294.6 MB, free: 24.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.1335, allocations: 320.3 kB / 294.9 MB, free: 24.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.967e-06/0.1335, allocations: 0.5469 kB / 294.9 MB, free: 24.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002227/0.1358, allocations: 0.9445 MB / 295.8 MB, free: 23.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1358, allocations: 91.23 kB / 295.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.1364, allocations: 0.6069 MB / 296.5 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.1364, allocations: 46.78 kB / 296.6 MB, free: 23.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.1367, allocations: 438.9 kB / 297 MB, free: 23.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1368, allocations: 243.2 kB / 297.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.1369, allocations: 124.4 kB / 297.4 MB, free: 23.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.137, allocations: 335.2 kB / 297.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1371, allocations: 66.36 kB / 297.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1373, allocations: 243.5 kB / 298 MB, free: 22.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1377, allocations: 356.3 kB / 298.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1377, allocations: 1.344 kB / 298.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00067/0.1384, allocations: 458.1 kB / 298.8 MB, free: 22.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1384, allocations: 7.75 kB / 298.8 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1384, allocations: 6.594 kB / 298.8 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.1388, allocations: 170.1 kB / 299 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1391, allocations: 117.9 kB / 299.1 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1411, allocations: 2.377 MB / 301.5 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1414, allocations: 67.36 kB / 301.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1414, allocations: 18.45 kB / 301.5 MB, free: 21.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.1417, allocations: 168.5 kB / 301.7 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1418, allocations: 79.53 kB / 301.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1419, allocations: 111.7 kB / 301.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1419, allocations: 5.75 kB / 301.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1419, allocations: 2.281 kB / 301.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1419, allocations: 3.469 kB / 301.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1433, allocations: 1.004 MB / 302.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1433, allocations: 0.625 kB / 302.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.1435, allocations: 78.62 kB / 303 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/0.1438, allocations: 172.8 kB / 303.1 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1438, allocations: 16.19 kB / 303.2 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.1455, allocations: 2.376 MB / 305.5 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1456, allocations: 5.688 kB / 305.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/0.1463, allocations: 0.5973 MB / 306.1 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.1465, allocations: 131.6 kB / 306.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.1466, allocations: 15.72 kB / 306.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1468, allocations: 30.62 kB / 306.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1469, allocations: 65.02 kB / 306.4 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1469, allocations: 19.91 kB / 306.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.1472, allocations: 309.3 kB / 306.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1472, allocations: 0 / 306.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006644/0.1478, allocations: 353.1 kB / 307 MB, free: 18.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.148, allocations: 112.1 kB / 307.2 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007121/0.1487, allocations: 0.6097 MB / 307.8 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.1487, allocations: 7.656 kB / 307.8 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.1491, allocations: 484.6 kB / 308.2 MB, free: 17.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.1496, allocations: 244.4 kB / 308.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1522, allocations: 2.247 MB / 310.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1524, allocations: 331.8 kB / 311.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.1526, allocations: 99.23 kB / 311.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.1529, allocations: 249.2 kB / 311.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1529, allocations: 0 / 311.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of Templates: time 0.02011/0.173, allocations: 18.37 MB / 329.8 MB, free: 12.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.04848155612126]