Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001943/0.001943, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002469/0.002469, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.812e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006701/0.006729, allocations: 3.443 MB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.009296, allocations: 1.056 MB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.009593, allocations: 19.88 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.009906, allocations: 111 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.01079, allocations: 258.3 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.01123, allocations: 159.6 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01247, allocations: 1.004 MB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.01306, allocations: 343.5 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009101/0.01397, allocations: 0.6042 MB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.01469, allocations: 454.8 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.01484, allocations: 104 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.01506, allocations: 108 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.01536, allocations: 287.1 kB / 280.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.01577, allocations: 327.3 kB / 280.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.01734, allocations: 1.328 MB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.01735, allocations: 3.984 kB / 281.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01735, allocations: 0 / 281.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.01737, allocations: 0 / 281.8 MB, free: 8.129 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002584/0.01995, allocations: 1.315 MB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.01999, allocations: 11.98 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.02054, allocations: 184.2 kB / 283.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.02166, allocations: 0.6235 MB / 283.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.02172, allocations: 45.69 kB / 284 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.02185, allocations: 64.38 kB / 284 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.02362, allocations: 0.944 MB / 285 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.02365, allocations: 7.953 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/0.02373, allocations: 27.94 kB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/0.02379, allocations: 33.3 kB / 285 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.0253, allocations: 0.7936 MB / 285.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.02969, allocations: 2.442 MB / 288.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.03062, allocations: 0.4956 MB / 288.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.03127, allocations: 329 kB / 289.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.0313, allocations: 4.328 kB / 289.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007258/0.03203, allocations: 399.7 kB / 289.5 MB, free: 212 kB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.03203, allocations: 0 / 289.5 MB, free: 212 kB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.1313/0.1633, allocations: 1.126 MB / 290.6 MB, free: 23.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.1634, allocations: 111 kB / 290.7 MB, free: 23.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.1643, allocations: 0.5691 MB / 291.3 MB, free: 23.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.1643, allocations: 37.47 kB / 291.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.1646, allocations: 374.9 kB / 291.7 MB, free: 23.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1648, allocations: 141.8 kB / 291.8 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1649, allocations: 93.02 kB / 291.9 MB, free: 23.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.165, allocations: 367.7 kB / 292.3 MB, free: 22.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.1654, allocations: 222 kB / 292.5 MB, free: 22.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.1659, allocations: 381.7 kB / 292.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.1667, allocations: 0.5706 MB / 293.4 MB, free: 22.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.1667, allocations: 2.156 kB / 293.4 MB, free: 22.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001443/0.1681, allocations: 0.762 MB / 294.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.1682, allocations: 7.469 kB / 294.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1682, allocations: 4.375 kB / 294.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.1688, allocations: 201.1 kB / 294.4 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.1691, allocations: 76.28 kB / 294.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.172, allocations: 2.798 MB / 297.3 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.1724, allocations: 51.84 kB / 297.3 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1724, allocations: 23.34 kB / 297.4 MB, free: 20.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004699/0.1729, allocations: 331.3 kB / 297.7 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.173, allocations: 76.86 kB / 297.8 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.1731, allocations: 71.08 kB / 297.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1731, allocations: 4.312 kB / 297.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1731, allocations: 1.219 kB / 297.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1731, allocations: 2.438 kB / 297.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.1752, allocations: 1.43 MB / 299.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1752, allocations: 1.031 kB / 299.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1754, allocations: 49.77 kB / 299.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.1759, allocations: 199 kB / 299.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.1759, allocations: 9.203 kB / 299.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1785, allocations: 2.781 MB / 302.3 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1785, allocations: 3.094 kB / 302.3 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.1801, allocations: 1.106 MB / 303.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.1803, allocations: 121.9 kB / 303.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.1804, allocations: 15.66 kB / 303.5 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.1807, allocations: 23.09 kB / 303.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.1808, allocations: 53 kB / 303.6 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.1808, allocations: 13.44 kB / 303.6 MB, free: 16.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004975/0.1813, allocations: 414.8 kB / 304 MB, free: 16.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1813, allocations: 0.8438 kB / 304 MB, free: 16.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00082/0.1821, allocations: 213.8 kB / 304.2 MB, free: 16.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * 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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.1823, allocations: 112.6 kB / 304.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.1835, allocations: 0.7069 MB / 305.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1835, allocations: 0 / 305.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.1842, allocations: 469.2 kB / 305.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.1849, allocations: 154.9 kB / 305.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.1871, allocations: 1.463 MB / 307.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1875, allocations: 490.2 kB / 307.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.1877, allocations: 99.45 kB / 307.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1878, allocations: 41.22 kB / 307.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1878, allocations: 0 / 307.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01459/0.2024, allocations: 9.68 MB / 317.4 MB, free: 6.316 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.635345185990445]