Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.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.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.462/1.462, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008271/0.0008271, allocations: 82.67 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2.002e-05, allocations: 8 kB / 322.5 MB, free: 17.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07774, allocations: 47.58 MB / 370 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3603, allocations: 85.74 MB / 455.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3606, allocations: 90.31 kB / 455.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03434/0.395, allocations: 12.69 MB / 468.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.395, allocations: 0 / 468.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.3951, allocations: 20 kB / 468.6 MB, free: 12.26 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001909/0.397, allocations: 1.004 MB / 469.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3971, allocations: 8.031 kB / 469.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.3972, allocations: 98.83 kB / 469.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.3981, allocations: 0.5356 MB / 470.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.3982, allocations: 54 kB / 470.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3983, allocations: 72 kB / 470.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3996, allocations: 0.7161 MB / 471.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3996, allocations: 3.984 kB / 471.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.3997, allocations: 32 kB / 471.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.3997, allocations: 16 kB / 471.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.4006, allocations: 0.4998 MB / 471.6 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.4046, allocations: 2.725 MB / 474.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/0.4055, allocations: 0.5055 MB / 474.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.406, allocations: 279.5 kB / 475.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.4061, allocations: 16.55 kB / 475.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/0.4067, allocations: 413.7 kB / 475.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/0.4067, allocations: 0 / 475.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.001132/0.4079, allocations: 0.6163 MB / 476.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.408, allocations: 115.4 kB / 476.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.4085, allocations: 484.9 kB / 476.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.4086, allocations: 41.7 kB / 476.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.4089, allocations: 340.4 kB / 477.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.409, allocations: 201.2 kB / 477.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.4091, allocations: 15.94 kB / 477.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4093, allocations: 378.8 kB / 477.7 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.4096, allocations: 197.5 kB / 477.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.4101, allocations: 368.1 kB / 478.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.4105, allocations: 248.9 kB / 478.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4105, allocations: 11.94 kB / 478.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001199/0.4117, allocations: 0.7541 MB / 479.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007595/0.4125, allocations: 1.867 MB / 481.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4125, allocations: 4 kB / 481.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/0.4129, allocations: 132.8 kB / 481.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.4135, allocations: 135.8 kB / 481.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.4161, allocations: 2.291 MB / 483.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.4167, allocations: 95.45 kB / 483.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.4167, allocations: 31.98 kB / 483.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.4168, allocations: 4 kB / 483.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.4179, allocations: 0.6752 MB / 484.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4179, allocations: 4 kB / 484.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.4183, allocations: 140.8 kB / 484.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.4188, allocations: 124.3 kB / 484.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.4213, allocations: 2.292 MB / 487 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.4219, allocations: 83.45 kB / 487.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.422, allocations: 32 kB / 487.1 MB, free: 8.828 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.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 (74): * Single equations (assignments): 72 * 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 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.4222, allocations: 165 kB / 487.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4224, allocations: 71.16 kB / 487.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4236, allocations: 0.6631 MB / 488 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4236, allocations: 8.125 kB / 488.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4236, allocations: 7.953 kB / 488.1 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4236, allocations: 3.984 kB / 488.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.4256, allocations: 1.475 MB / 489.5 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4256, allocations: 0 / 489.5 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.4261, allocations: 95.81 kB / 489.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.4264, allocations: 138 kB / 489.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.4265, allocations: 23.94 kB / 489.8 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.429, allocations: 2.273 MB / 492.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.429, allocations: 0 / 492.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.4305, allocations: 1.027 MB / 493.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.4308, allocations: 208.1 kB / 493.3 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.4309, allocations: 16 kB / 493.3 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.4314, allocations: 59.89 kB / 493.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.4316, allocations: 68.45 kB / 493.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.4316, allocations: 23.98 kB / 493.5 MB, free: 2.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004586/0.4321, allocations: 365.6 kB / 493.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4321, allocations: 3.938 kB / 493.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001087/0.4332, allocations: 367.1 kB / 494.2 MB, free: 1.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,inductor.i) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.4334, allocations: 134 kB / 494.3 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.4354, allocations: 1.374 MB / 495.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4354, allocations: 1.062 kB / 495.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.4361, allocations: 481.5 kB / 496.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.4366, allocations: 123.5 kB / 496.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4385, allocations: 1.035 MB / 497.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.439, allocations: 0.9716 MB / 498.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004998/0.4395, allocations: 121.1 kB / 498.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4396, allocations: 43.42 kB / 498.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4396, allocations: 3.938 kB / 498.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01829/0.4579, allocations: 11.37 MB / 0.4979 GB, free: 1.762 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches