Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001503, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008195/0.0008195, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.177e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08514, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.3594, allocations: 82.69 MB / 445.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.3597, allocations: 81.98 kB / 445.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02245/0.3821, allocations: 7.571 MB / 453.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3822, allocations: 0 / 453.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.3822, allocations: 15.19 kB / 453.4 MB, free: 6.664 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001123/0.3833, allocations: 0.7109 MB / 454.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3834, allocations: 12.03 kB / 454.2 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3835, allocations: 59.25 kB / 454.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.384, allocations: 383.1 kB / 454.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.384, allocations: 16 kB / 454.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.3841, allocations: 24 kB / 454.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004519/0.3845, allocations: 262.4 kB / 454.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.3851, allocations: 393.2 kB / 455.3 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3852, allocations: 4 kB / 455.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3852, allocations: 3.984 kB / 455.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3852, allocations: 19.94 kB / 455.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3874, allocations: 1.608 MB / 456.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.3879, allocations: 288.4 kB / 457.2 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.3883, allocations: 188.1 kB / 457.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3883, allocations: 7.938 kB / 457.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.3887, allocations: 230.9 kB / 457.6 MB, free: 3.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.3887, allocations: 0 / 457.6 MB, free: 3.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005408/0.3892, allocations: 317 kB / 457.9 MB, free: 2.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3893, allocations: 114.8 kB / 458 MB, free: 2.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3896, allocations: 264.3 kB / 458.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.3896, allocations: 29.7 kB / 458.3 MB, free: 2.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3898, allocations: 239.8 kB / 458.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.3899, allocations: 111.5 kB / 458.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.3899, allocations: 0 / 458.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.39, allocations: 348.2 kB / 459 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3902, allocations: 92.12 kB / 459.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3904, allocations: 225.5 kB / 459.3 MB, free: 1.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3906, allocations: 120.3 kB / 459.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3906, allocations: 4 kB / 459.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005663/0.3912, allocations: 386 kB / 459.8 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004363/0.3916, allocations: 1.333 MB / 461.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3916, allocations: 4 kB / 461.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.3919, allocations: 67.2 kB / 461.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.3922, allocations: 87.02 kB / 461.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.3936, allocations: 1.629 MB / 462.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.3939, allocations: 63.52 kB / 463 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.394, allocations: 23.44 kB / 463 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.394, allocations: 7.938 kB / 463 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005213/0.3945, allocations: 313.5 kB / 463.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3945, allocations: 4 kB / 463.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.3947, allocations: 76.06 kB / 463.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.395, allocations: 78.95 kB / 463.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3963, allocations: 1.626 MB / 465.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.3966, allocations: 43.67 kB / 465.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3966, allocations: 15 kB / 465.2 MB, free: 11.96 MB / 346.7 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 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.3968, allocations: 130.9 kB / 465.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.3968, allocations: 39.61 kB / 465.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.063e-05/0.3969, allocations: 38.23 kB / 465.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3969, allocations: 4 kB / 465.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.397, allocations: 3.938 kB / 465.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.397, allocations: 3.938 kB / 465.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3981, allocations: 0.8356 MB / 466.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3981, allocations: 0 / 466.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.3983, allocations: 43.11 kB / 466.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.3985, allocations: 70.48 kB / 466.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3986, allocations: 3.906 kB / 466.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.3999, allocations: 1.627 MB / 468 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3999, allocations: 4.094 kB / 468 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.4006, allocations: 0.5565 MB / 468.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4007, allocations: 140.6 kB / 468.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.4008, allocations: 7.938 kB / 468.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.401, allocations: 32.03 kB / 468.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.4011, allocations: 36.95 kB / 468.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.4012, allocations: 15.3 kB / 468.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.4014, allocations: 196.2 kB / 468.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4014, allocations: 0 / 468.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008108/0.4022, allocations: 215.2 kB / 469.2 MB, free: 8.371 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.4024, allocations: 121.8 kB / 469.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4035, allocations: 0.8065 MB / 470.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4035, allocations: 0 / 470.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4038, allocations: 269 kB / 470.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4042, allocations: 52.25 kB / 470.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4055, allocations: 0.6559 MB / 471 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.4059, allocations: 0.8438 MB / 471.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.4061, allocations: 59.23 kB / 471.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.4062, allocations: 27.44 kB / 472 MB, free: 5.719 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4062, allocations: 3.938 kB / 472 MB, free: 5.715 MB / 346.7 MB Notification: Performance of Templates: time 0.01033/0.4166, allocations: 5.812 MB / 477.8 MB, free: 15.92 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches