Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [: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 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 183 kB / 8.133 MB, free: 2.094 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009152, allocations: 104.2 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.264e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 50.38 MB / 386.9 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09398/0.3023, allocations: 85.92 MB / 472.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3025, allocations: 85.73 kB / 472.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03619/0.3387, allocations: 15.02 MB / 487.9 MB, free: 1.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.087e-05/0.3388, allocations: 24 kB / 488 MB, free: 1.781 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001803/0.3407, allocations: 1.079 MB / 489 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3407, allocations: 8.031 kB / 489.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.3409, allocations: 118.7 kB / 489.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.3419, allocations: 0.6369 MB / 489.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.3419, allocations: 28 kB / 489.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.342, allocations: 63.98 kB / 489.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/0.3432, allocations: 0.6132 MB / 490.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3446, allocations: 0.7954 MB / 491.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.3446, allocations: 3.938 kB / 491.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.3447, allocations: 4 kB / 491.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3447, allocations: 24 kB / 491.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.3494, allocations: 3.526 MB / 494.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3505, allocations: 0.6361 MB / 495.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.3512, allocations: 419.2 kB / 495.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.3513, allocations: 12.59 kB / 495.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006413/0.3519, allocations: 390 kB / 496.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.214e-06/0.3519, allocations: 0 / 496.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001456/0.3534, allocations: 0.7623 MB / 497.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3535, allocations: 119.4 kB / 497.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.354, allocations: 438 kB / 497.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.3541, allocations: 25.7 kB / 497.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.3543, allocations: 304.3 kB / 497.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3545, allocations: 228.6 kB / 498.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3545, allocations: 0 / 498.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3547, allocations: 374.8 kB / 498.5 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.3551, allocations: 225.6 kB / 498.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.3556, allocations: 368.6 kB / 499.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.356, allocations: 231.1 kB / 499.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3561, allocations: 4 kB / 499.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001268/0.3573, allocations: 0.7871 MB / 0.4884 GB, free: 5.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.3578, allocations: 1.307 MB / 0.4897 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3578, allocations: 4 kB / 0.4897 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/0.3587, allocations: 312.6 kB / 0.49 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.3591, allocations: 99.81 kB / 0.4901 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.3636, allocations: 3.193 MB / 0.4932 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.3643, allocations: 71.5 kB / 0.4933 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1016/0.4659, allocations: 31.5 kB / 0.4933 GB, free: 132.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.466, allocations: 3.938 kB / 0.4933 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.4671, allocations: 0.6824 MB / 0.494 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4671, allocations: 6.625 kB / 0.494 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.4679, allocations: 299.4 kB / 0.4942 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.4682, allocations: 90.7 kB / 0.4943 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.4718, allocations: 3.182 MB / 0.4974 GB, free: 131 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.4723, allocations: 61.33 kB / 0.4975 GB, free: 131 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.4723, allocations: 24.91 kB / 0.4975 GB, free: 131 MB / 378.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: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.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 (62): * Single equations (assignments): 60 * 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 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.4725, allocations: 139.1 kB / 0.4977 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.4726, allocations: 70.72 kB / 0.4977 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.4728, allocations: 76.67 kB / 0.4978 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4728, allocations: 10.44 kB / 0.4978 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4728, allocations: 3.125 kB / 0.4978 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4728, allocations: 3.75 kB / 0.4978 GB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4749, allocations: 1.706 MB / 0.4995 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4749, allocations: 0 / 0.4995 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.4752, allocations: 63.53 kB / 0.4995 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007124/0.4759, allocations: 310.9 kB / 0.4998 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.476, allocations: 1.719 kB / 0.4998 GB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.4796, allocations: 3.194 MB / 0.503 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4796, allocations: 0 / 0.503 GB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001577/0.4812, allocations: 1.199 MB / 0.5041 GB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.4815, allocations: 240.7 kB / 0.5044 GB, free: 129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4816, allocations: 3.938 kB / 0.5044 GB, free: 129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.482, allocations: 26.98 kB / 0.5044 GB, free: 129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.4822, allocations: 72.83 kB / 0.5045 GB, free: 129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.4822, allocations: 26.83 kB / 0.5045 GB, free: 129 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003239/0.4826, allocations: 315.6 kB / 0.5048 GB, free: 128.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00105/0.4836, allocations: 390.8 kB / 0.5052 GB, free: 128.9 MB / 378.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: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * 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 (48): * Single equations (assignments): 41 * 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 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.4838, allocations: 139.4 kB / 0.5053 GB, free: 128.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.4859, allocations: 1.444 MB / 0.5067 GB, free: 128.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4859, allocations: 0 / 0.5067 GB, free: 128.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.4867, allocations: 0.5348 MB / 0.5072 GB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.4873, allocations: 111.3 kB / 0.5073 GB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4899, allocations: 1.169 MB / 0.5085 GB, free: 128 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.4904, allocations: 1.035 MB / 0.5095 GB, free: 127.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4904, allocations: 0 / 0.5095 GB, free: 127.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02649/0.5169, allocations: 17.09 MB / 0.5262 GB, free: 124.3 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches