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_RL.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.00166/0.00166, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.002023/0.002023, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.46/1.46, allocations: 230.4 MB / 258.1 MB, free: 8.137 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|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_RL") [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.001899/0.001899, allocations: 63.89 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2118, allocations: 53.33 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.005881/0.2177, allocations: 4.32 MB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2196, allocations: 1.141 MB / 437.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.2198, allocations: 11.94 kB / 437.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2201, allocations: 103 kB / 437.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.2203, allocations: 154.6 kB / 437.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.2209, allocations: 251.5 kB / 438.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.2217, allocations: 0.7205 MB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.222, allocations: 188.3 kB / 439 MB, free: 456 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.2223, allocations: 266.9 kB / 439.3 MB, free: 188 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2227, allocations: 294.6 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.2228, allocations: 64 kB / 439.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.2229, allocations: 64 kB / 439.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.223, allocations: 139.5 kB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.2233, allocations: 314.4 kB / 440.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007985/0.2241, allocations: 0.7212 MB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2241, allocations: 0 / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2241, allocations: 0 / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2241, allocations: 0 / 440.8 MB, free: 14.6 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001867/0.226, allocations: 1.044 MB / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.226, allocations: 12.03 kB / 441.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2262, allocations: 68.52 kB / 442 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.2268, allocations: 423.2 kB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.2269, allocations: 41.36 kB / 442.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.227, allocations: 48.38 kB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.228, allocations: 0.5321 MB / 443 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.228, allocations: 0 / 443 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2281, allocations: 20 kB / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2281, allocations: 12 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.229, allocations: 383.7 kB / 443.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.2318, allocations: 1.846 MB / 445.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.2328, allocations: 367.5 kB / 445.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.2334, allocations: 243.9 kB / 445.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2334, allocations: 4.328 kB / 445.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005881/0.234, allocations: 295.9 kB / 446.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.694e-06/0.234, allocations: 0 / 446.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001903/0.2359, allocations: 0.7264 MB / 446.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.236, allocations: 106.8 kB / 447 MB, free: 8.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.2365, allocations: 397.5 kB / 447.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2365, allocations: 41.64 kB / 447.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2367, allocations: 257.3 kB / 447.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2368, allocations: 142.8 kB / 447.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.237, allocations: 102.1 kB / 447.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2372, allocations: 358.8 kB / 448.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.2375, allocations: 151 kB / 448.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.238, allocations: 284.1 kB / 448.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008243/0.2389, allocations: 430.6 kB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2389, allocations: 4 kB / 449.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001108/0.24, allocations: 0.5544 MB / 449.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.24, allocations: 41.72 kB / 449.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.24, allocations: 3.938 kB / 449.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.2403, allocations: 76.75 kB / 449.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.2407, allocations: 91.88 kB / 449.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2426, allocations: 1.893 MB / 451.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.2429, allocations: 63.77 kB / 451.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.2429, allocations: 20 kB / 451.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004762/0.2434, allocations: 265.2 kB / 452.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004364/0.2439, allocations: 264.1 kB / 452.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007244/0.2446, allocations: 414.7 kB / 452.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/0.2446, allocations: 3.938 kB / 452.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001029/0.2456, allocations: 0.5345 MB / 453.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.2456, allocations: 33.7 kB / 453.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2457, allocations: 4 kB / 453.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.2459, allocations: 73.25 kB / 453.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2462, allocations: 87.89 kB / 453.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.248, allocations: 1.886 MB / 455.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2484, allocations: 55.75 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.2484, allocations: 28 kB / 455.4 MB, free: 15.12 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 (54): * Single equations (assignments): 52 * 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.0001928/0.2486, allocations: 214.6 kB / 455.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.2487, allocations: 55.61 kB / 455.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2498, allocations: 498.4 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2498, allocations: 0 / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2498, allocations: 3.984 kB / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.25, allocations: 164.6 kB / 456.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.2501, allocations: 15.94 kB / 456.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.2504, allocations: 39.83 kB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.2505, allocations: 39.95 kB / 456.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001446/0.2519, allocations: 0.5756 MB / 457 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001386/0.2533, allocations: 0.7771 MB / 457.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003839/0.2537, allocations: 155.9 kB / 458 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003132/0.254, allocations: 271.2 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.254, allocations: 0 / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.2558, allocations: 0.9255 MB / 459.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 0.002006/0.2578, allocations: 1.558 MB / 460.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01586/0.2737, allocations: 8.871 MB / 469.6 MB, free: 0.9336 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_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_RL/ChopperStepDown_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.6306931409053504]