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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009707/0.0009708, allocations: 168.9 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 214.1 MB, free: 5.137 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.0008119/0.0008119, allocations: 83.28 kB / 262.1 MB, free: 5.188 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.122e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07309/0.07311, allocations: 47.57 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.2964, allocations: 85.01 MB / 447.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.2966, allocations: 76.98 kB / 447.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03051/0.3271, allocations: 12.34 MB / 460 MB, free: 6.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.3272, allocations: 16.41 kB / 460 MB, free: 6.016 MB / 314.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.001643/0.3289, allocations: 1.015 MB / 461 MB, free: 5.273 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3289, allocations: 13.77 kB / 461 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.3291, allocations: 95.97 kB / 461.1 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.3299, allocations: 0.5277 MB / 461.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.3299, allocations: 25.62 kB / 461.7 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.3301, allocations: 54.7 kB / 461.7 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009195/0.331, allocations: 468.8 kB / 462.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.332, allocations: 0.6205 MB / 462.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3321, allocations: 1.375 kB / 462.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.3321, allocations: 4.75 kB / 462.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3322, allocations: 16.5 kB / 462.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.3356, allocations: 2.575 MB / 465.4 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.336, allocations: 262.6 kB / 465.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.3364, allocations: 257.2 kB / 465.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.3365, allocations: 7.969 kB / 465.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/0.337, allocations: 356.4 kB / 466.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.337, allocations: 0 / 466.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.0009631/0.338, allocations: 0.5595 MB / 466.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.338, allocations: 111.9 kB / 466.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.3384, allocations: 387.7 kB / 467.3 MB, free: 2.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.3385, allocations: 32.05 kB / 467.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3386, allocations: 273.1 kB / 467.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3387, allocations: 208.5 kB / 467.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3388, allocations: 0 / 467.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.3388, allocations: 371.5 kB / 468.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3392, allocations: 179.9 kB / 468.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3395, allocations: 358.3 kB / 468.7 MB, free: 1.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.3399, allocations: 209.2 kB / 468.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3399, allocations: 1.125 kB / 468.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001008/0.3409, allocations: 0.6465 MB / 469.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.3413, allocations: 1.831 MB / 471.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3413, allocations: 8.844 kB / 471.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.3417, allocations: 135.9 kB / 471.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.3423, allocations: 137 kB / 471.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.3447, allocations: 2.104 MB / 473.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.3452, allocations: 86.42 kB / 473.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.3453, allocations: 24.69 kB / 473.9 MB, free: 14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.3453, allocations: 4.312 kB / 473.9 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009374/0.3463, allocations: 0.5546 MB / 474.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3463, allocations: 7.812 kB / 474.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.3466, allocations: 139.2 kB / 474.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3472, allocations: 125.5 kB / 474.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.3493, allocations: 2.111 MB / 476.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.3498, allocations: 69.53 kB / 476.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.3499, allocations: 28.44 kB / 476.9 MB, free: 12.38 MB / 330.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.0001972/0.3501, allocations: 144.9 kB / 477 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3502, allocations: 66.75 kB / 477.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3513, allocations: 0.5805 MB / 477.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3513, allocations: 8.875 kB / 477.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3513, allocations: 11.89 kB / 477.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3513, allocations: 0 / 477.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3531, allocations: 1.325 MB / 479 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3531, allocations: 0 / 479 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.3536, allocations: 99.44 kB / 479.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.354, allocations: 131.5 kB / 479.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.354, allocations: 7.375 kB / 479.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.3562, allocations: 2.099 MB / 481.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3562, allocations: 0 / 481.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001286/0.3575, allocations: 0.9547 MB / 482.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.3577, allocations: 200.3 kB / 482.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3579, allocations: 7.688 kB / 482.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.3583, allocations: 51.86 kB / 482.6 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3585, allocations: 58.56 kB / 482.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.3585, allocations: 23.61 kB / 482.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002825/0.3588, allocations: 297.3 kB / 482.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001019/0.3598, allocations: 319 kB / 483.3 MB, free: 7.707 MB / 330.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.000189/0.36, allocations: 138 kB / 483.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3618, allocations: 1.161 MB / 484.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3618, allocations: 384 / 484.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.3624, allocations: 419.2 kB / 485 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.363, allocations: 83.83 kB / 485 MB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3651, allocations: 1.034 MB / 486.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.3658, allocations: 1.01 MB / 487.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3658, allocations: 0 / 487.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of Templates: time 0.01925/0.385, allocations: 12.46 MB / 499.5 MB, free: 7.863 MB / 346.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