Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.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.001503/0.001503, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001629/0.001629, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.89 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2044, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.005614/0.2101, allocations: 4.215 MB / 436.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2119, allocations: 1.134 MB / 437.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.2122, allocations: 15.88 kB / 437.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2124, allocations: 95.03 kB / 437.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.2127, allocations: 142.7 kB / 437.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.2132, allocations: 247.5 kB / 438 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007286/0.2139, allocations: 0.6971 MB / 438.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.2143, allocations: 190.2 kB / 438.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2146, allocations: 247.1 kB / 439.1 MB, free: 384 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.2149, allocations: 282.6 kB / 439.4 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.215, allocations: 60 kB / 439.4 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2151, allocations: 60.05 kB / 439.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2152, allocations: 139.5 kB / 439.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.2155, allocations: 298.5 kB / 439.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.2162, allocations: 0.6963 MB / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2163, allocations: 0 / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2163, allocations: 0 / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2163, allocations: 0 / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001765/0.218, allocations: 1.013 MB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2181, allocations: 8.031 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.2182, allocations: 68.55 kB / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.2188, allocations: 416.8 kB / 442.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.2189, allocations: 37.38 kB / 442.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.219, allocations: 52.38 kB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.2199, allocations: 0.5083 MB / 442.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.22, allocations: 7.984 kB / 442.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.22, allocations: 20 kB / 442.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.22, allocations: 12 kB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.2209, allocations: 367.7 kB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.2235, allocations: 1.742 MB / 444.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2246, allocations: 395.3 kB / 445.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.2251, allocations: 220.7 kB / 445.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.2252, allocations: 11.92 kB / 445.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.2258, allocations: 284.7 kB / 445.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.933e-06/0.2258, allocations: 0 / 445.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001907/0.2277, allocations: 0.7092 MB / 446.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.2277, allocations: 110.8 kB / 446.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.2282, allocations: 393.5 kB / 446.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.2282, allocations: 37.7 kB / 447 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.2284, allocations: 252.7 kB / 447.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2286, allocations: 138.9 kB / 447.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2287, allocations: 94.2 kB / 447.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2289, allocations: 354.8 kB / 447.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.2293, allocations: 147 kB / 447.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.2298, allocations: 280.4 kB / 448.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008126/0.2306, allocations: 427.9 kB / 448.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2306, allocations: 3.938 kB / 448.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001097/0.2317, allocations: 0.5363 MB / 449.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.2317, allocations: 37.69 kB / 449.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2317, allocations: 0 / 449.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.232, allocations: 72.77 kB / 449.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.2324, allocations: 92.03 kB / 449.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.2343, allocations: 1.889 MB / 451.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.2346, allocations: 63.64 kB / 451.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.2347, allocations: 20 kB / 451.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004663/0.2351, allocations: 257.2 kB / 451.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004235/0.2356, allocations: 256.5 kB / 451.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007162/0.2363, allocations: 410.7 kB / 452.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.207e-06/0.2363, allocations: 4 kB / 452.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001008/0.2373, allocations: 0.5192 MB / 452.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.2373, allocations: 37.7 kB / 452.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2373, allocations: 4 kB / 452.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.2375, allocations: 68.81 kB / 452.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2379, allocations: 79.89 kB / 452.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.2397, allocations: 1.886 MB / 454.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.2401, allocations: 51.88 kB / 454.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.2401, allocations: 20.12 kB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 21 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepDown.diode.off,chopperStepDown.transistor.off,chopperStepDown.andCondition_p.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.2403, allocations: 226.5 kB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.2403, allocations: 51.67 kB / 455.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.2415, allocations: 490.7 kB / 455.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2415, allocations: 0 / 455.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2415, allocations: 4 kB / 455.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.2417, allocations: 156.7 kB / 455.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.2418, allocations: 19.94 kB / 455.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.2421, allocations: 31.91 kB / 455.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.2422, allocations: 35.95 kB / 455.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001429/0.2436, allocations: 0.5524 MB / 456.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.2449, allocations: 0.7579 MB / 457.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003612/0.2453, allocations: 148.2 kB / 457.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.2456, allocations: 271.2 kB / 457.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Backend: time 3.2e-07/0.2456, allocations: 192 / 457.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.2474, allocations: 0.9046 MB / 458.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 0.001902/0.2493, allocations: 1.477 MB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01599/0.2652, allocations: 8.676 MB / 468.7 MB, free: 1.871 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.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.611598402261734]