Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003881, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4558, allocations: 83.35 MB / 457.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4562, allocations: 91.94 kB / 458 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03089/0.4871, allocations: 7.02 MB / 465 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.17e-06/0.4872, allocations: 0 / 465 MB, free: 6.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.235e-05/0.4872, allocations: 11.94 kB / 465 MB, free: 6.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.00194/0.4892, allocations: 0.7255 MB / 465.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4893, allocations: 12.03 kB / 465.8 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.4894, allocations: 47.44 kB / 465.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.4903, allocations: 378.9 kB / 466.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.4903, allocations: 29 kB / 466.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4905, allocations: 44 kB / 466.2 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4918, allocations: 440.7 kB / 466.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4918, allocations: 0 / 466.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/0.4919, allocations: 16 kB / 466.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4919, allocations: 12 kB / 466.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.4931, allocations: 311.8 kB / 467 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.4969, allocations: 1.605 MB / 468.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.498, allocations: 286.9 kB / 468.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.4981, allocations: 4 kB / 468.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.4988, allocations: 235.5 kB / 469.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 3.577e-06/0.4988, allocations: 0 / 469.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002399/0.5012, allocations: 0.5665 MB / 469.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5014, allocations: 114.8 kB / 469.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.5021, allocations: 332.8 kB / 470.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/0.5022, allocations: 37.7 kB / 470.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.5025, allocations: 274.9 kB / 470.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5026, allocations: 94.64 kB / 470.5 MB, free: 440 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.5027, allocations: 12 kB / 470.5 MB, free: 428 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5029, allocations: 336.3 kB / 470.9 MB, free: 84 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.5033, allocations: 120.8 kB / 471 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.504, allocations: 238.8 kB / 471.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.5045, allocations: 157.7 kB / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.5045, allocations: 0 / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001528/0.5061, allocations: 461.6 kB / 471.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.5067, allocations: 1.34 MB / 473.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5068, allocations: 4 kB / 473.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.5073, allocations: 84.78 kB / 473.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.5078, allocations: 63.84 kB / 473.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.5107, allocations: 1.776 MB / 475.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.5114, allocations: 67.66 kB / 475.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.5114, allocations: 12 kB / 475.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5115, allocations: 4 kB / 475.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/0.5127, allocations: 406.1 kB / 475.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5127, allocations: 0 / 475.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.5131, allocations: 85.2 kB / 475.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.5135, allocations: 55.91 kB / 475.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.5162, allocations: 1.76 MB / 477.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.5167, allocations: 47.67 kB / 477.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.5168, allocations: 24.05 kB / 477.5 MB, free: 8.949 MB / 362.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,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004491/0.5173, allocations: 263.7 kB / 477.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5174, allocations: 39.53 kB / 477.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.5175, allocations: 40.11 kB / 477.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5175, allocations: 4 kB / 477.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5176, allocations: 0 / 477.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5176, allocations: 3.984 kB / 477.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.5197, allocations: 0.8709 MB / 478.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5197, allocations: 0 / 478.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.52, allocations: 31.92 kB / 478.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.5204, allocations: 77.03 kB / 478.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5205, allocations: 4 kB / 478.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.5232, allocations: 1.789 MB / 480.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5233, allocations: 0 / 480.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.5249, allocations: 0.5701 MB / 481.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.5252, allocations: 136.8 kB / 481.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.5253, allocations: 11.98 kB / 481.4 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.5258, allocations: 31.98 kB / 481.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.5259, allocations: 39.89 kB / 481.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.526, allocations: 12 kB / 481.4 MB, free: 4.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.5265, allocations: 267.2 kB / 481.7 MB, free: 4.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5266, allocations: 3.938 kB / 481.7 MB, free: 4.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001181/0.5278, allocations: 199.5 kB / 481.9 MB, free: 4.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002267/0.528, allocations: 123.5 kB / 482 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.5303, allocations: 0.884 MB / 482.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.5304, allocations: 0 / 482.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007211/0.5311, allocations: 286.4 kB / 483.2 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.5318, allocations: 72.86 kB / 483.3 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.5344, allocations: 0.9334 MB / 484.2 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.535, allocations: 0.8198 MB / 485 MB, free: 1.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.5352, allocations: 35.44 kB / 485 MB, free: 1.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.088e-06/0.5352, allocations: 0 / 485 MB, free: 1.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01438/0.5496, allocations: 6.66 MB / 491.7 MB, free: 10.42 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches