Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 153.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.135e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005656/0.005687, allocations: 3.416 MB / 270.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.008025, allocations: 0.9816 MB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.008419, allocations: 23.81 kB / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.00883, allocations: 111.1 kB / 271.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.01001, allocations: 246.3 kB / 272.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.0106, allocations: 151.6 kB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.01197, allocations: 0.9842 MB / 273.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.0126, allocations: 327.4 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.01359, allocations: 0.5886 MB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.01445, allocations: 454.9 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.01467, allocations: 100 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.0149, allocations: 100 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.01522, allocations: 291.1 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.01572, allocations: 323.3 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.01717, allocations: 1.313 MB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01717, allocations: 4 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01717, allocations: 0 / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.01719, allocations: 4 kB / 276.7 MB, free: 13.27 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.002415/0.0196, allocations: 1.295 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01964, allocations: 8.922 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.0199, allocations: 148.4 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.02091, allocations: 0.5941 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.02097, allocations: 53.69 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.0211, allocations: 64.38 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.02283, allocations: 0.9478 MB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.02285, allocations: 0 / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.02292, allocations: 27.98 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.02297, allocations: 33.3 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.02439, allocations: 0.7975 MB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.02849, allocations: 2.434 MB / 283.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.0294, allocations: 499 kB / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.03002, allocations: 317.3 kB / 283.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.03006, allocations: 8.328 kB / 283.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007141/0.03077, allocations: 411.1 kB / 284.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.03078, allocations: 3.938 kB / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.002928/0.0337, allocations: 1.133 MB / 285.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.0338, allocations: 114.8 kB / 285.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/0.03458, allocations: 0.5526 MB / 286.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.03463, allocations: 37.69 kB / 286.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.03497, allocations: 360.6 kB / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.03526, allocations: 146.8 kB / 286.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.03542, allocations: 90.14 kB / 286.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.03565, allocations: 358.8 kB / 287.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.03606, allocations: 220.8 kB / 287.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.03663, allocations: 378.8 kB / 287.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.03762, allocations: 0.573 MB / 288.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.03762, allocations: 0 / 288.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001456/0.03908, allocations: 0.7628 MB / 289 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.0391, allocations: 8 kB / 289 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.03911, allocations: 4 kB / 289 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.03971, allocations: 209.2 kB / 289.2 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.04008, allocations: 75.89 kB / 289.3 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1274/0.1675, allocations: 2.784 MB / 292.1 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.168, allocations: 56.2 kB / 292.1 MB, free: 30.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.168, allocations: 20.55 kB / 292.2 MB, free: 30.95 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.0005266/0.1685, allocations: 330.1 kB / 292.5 MB, free: 30.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1687, allocations: 73.89 kB / 292.6 MB, free: 30.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1688, allocations: 64.97 kB / 292.6 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1688, allocations: 9.281 kB / 292.6 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1688, allocations: 1.703 kB / 292.6 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1688, allocations: 3.297 kB / 292.6 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.171, allocations: 1.428 MB / 294.1 MB, free: 30 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.171, allocations: 1.031 kB / 294.1 MB, free: 30 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.1713, allocations: 50.97 kB / 294.1 MB, free: 30 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.1718, allocations: 201.2 kB / 294.3 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.1718, allocations: 9.172 kB / 294.3 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.1746, allocations: 2.772 MB / 297.1 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1746, allocations: 1 kB / 297.1 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.1763, allocations: 1.109 MB / 298.2 MB, free: 27.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.1765, allocations: 122.4 kB / 298.3 MB, free: 27.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.1766, allocations: 11.3 kB / 298.3 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1769, allocations: 23.17 kB / 298.4 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.177, allocations: 47.31 kB / 298.4 MB, free: 27.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1771, allocations: 19.44 kB / 298.4 MB, free: 27.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005082/0.1776, allocations: 405 kB / 298.8 MB, free: 27.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1776, allocations: 0 / 298.8 MB, free: 27.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000759/0.1783, allocations: 213.2 kB / 299 MB, free: 27.21 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.0001459/0.1785, allocations: 118.7 kB / 299.1 MB, free: 27.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1797, allocations: 0.7177 MB / 299.9 MB, free: 26.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1797, allocations: 1.094 kB / 299.9 MB, free: 26.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.1803, allocations: 459.8 kB / 300.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.181, allocations: 140.6 kB / 300.4 MB, free: 26.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.1834, allocations: 1.447 MB / 301.9 MB, free: 25.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.1838, allocations: 482.2 kB / 302.4 MB, free: 25.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.1841, allocations: 95.33 kB / 302.5 MB, free: 25.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1842, allocations: 39.02 kB / 302.5 MB, free: 25.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1842, allocations: 5.375 kB / 302.5 MB, free: 25.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01336/0.1976, allocations: 9.578 MB / 312.1 MB, free: 18.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.4659974839305505]