Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 60.14 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.227, allocations: 50.55 MB / 410 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.006823/0.2339, allocations: 6.009 MB / 416 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.2369, allocations: 1.661 MB / 417.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.2375, allocations: 23.88 kB / 417.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.238, allocations: 190.1 kB / 417.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.2385, allocations: 269.6 kB / 418.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.2394, allocations: 431.4 kB / 418.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.2406, allocations: 1.399 MB / 419.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.2414, allocations: 0.5466 MB / 420.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.2419, allocations: 482.2 kB / 421 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.2424, allocations: 0.5133 MB / 421.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2426, allocations: 147.9 kB / 421.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2428, allocations: 144 kB / 421.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.243, allocations: 287.1 kB / 422 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.2435, allocations: 0.5716 MB / 422.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2448, allocations: 1.589 MB / 424.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2448, allocations: 0 / 424.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2448, allocations: 0 / 424.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.2448, allocations: 4 kB / 424.2 MB, free: 3.453 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002233/0.2471, allocations: 1.343 MB / 425.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2471, allocations: 8.031 kB / 425.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2473, allocations: 111.6 kB / 425.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.2483, allocations: 0.6689 MB / 426.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.2483, allocations: 78.3 kB / 426.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2485, allocations: 92.38 kB / 426.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.25, allocations: 0.9673 MB / 427.5 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.25, allocations: 11.88 kB / 427.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.2501, allocations: 39.98 kB / 427.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.2501, allocations: 20 kB / 427.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2515, allocations: 0.7339 MB / 428.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.2559, allocations: 3.728 MB / 432 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2573, allocations: 0.8102 MB / 432.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.258, allocations: 474.1 kB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.2581, allocations: 12.59 kB / 433.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007734/0.2589, allocations: 471.3 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.2589, allocations: 0 / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.005084/0.264, allocations: 1.825 MB / 435.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.2641, allocations: 115.5 kB / 435.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.2649, allocations: 0.6683 MB / 436.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.265, allocations: 41.7 kB / 436.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.2653, allocations: 376.5 kB / 436.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.2655, allocations: 244.5 kB / 437 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.2658, allocations: 154.6 kB / 437.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2659, allocations: 390.7 kB / 437.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.2665, allocations: 276.8 kB / 437.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.2671, allocations: 426.8 kB / 438.2 MB, free: 5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2681, allocations: 0.6652 MB / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2681, allocations: 0 / 438.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00164/0.2698, allocations: 0.9633 MB / 439.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.2698, allocations: 34.2 kB / 439.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2699, allocations: 11.94 kB / 439.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008548/0.2707, allocations: 296.7 kB / 440.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.2711, allocations: 103.8 kB / 440.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.276, allocations: 3.807 MB / 444.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.2765, allocations: 87.19 kB / 444.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.2766, allocations: 28 kB / 444.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007151/0.2773, allocations: 450.2 kB / 444.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005708/0.2779, allocations: 425.1 kB / 445.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.279, allocations: 0.6457 MB / 445.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.279, allocations: 0 / 445.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001502/0.2805, allocations: 0.9556 MB / 446.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.2805, allocations: 41.62 kB / 446.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2805, allocations: 4 kB / 446.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007571/0.2813, allocations: 305.3 kB / 447 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2816, allocations: 91.83 kB / 447.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.2863, allocations: 3.797 MB / 450.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.2868, allocations: 75.34 kB / 451 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.2869, allocations: 24 kB / 451 MB, free: 7.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,hbridge.not_n.y,hbridge.not_p.y,hbridge.inverter_n.diode_n.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_p.diode_n.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.andCondition_p.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,24)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.2871, allocations: 244.1 kB / 451.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2872, allocations: 83.06 kB / 451.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.2874, allocations: 100.4 kB / 451.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2874, allocations: 3.984 kB / 451.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2874, allocations: 4 kB / 451.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.2878, allocations: 255.8 kB / 451.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.2879, allocations: 16 kB / 451.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.2882, allocations: 31.97 kB / 451.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.2884, allocations: 72.5 kB / 451.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002344/0.2908, allocations: 1.048 MB / 452.8 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001837/0.2926, allocations: 1.244 MB / 454.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005143/0.2931, allocations: 321.1 kB / 454.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005215/0.2937, allocations: 463.1 kB / 454.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.2937, allocations: 0 / 454.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.2966, allocations: 1.678 MB / 456.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of SimCode: time 0.002713/0.2993, allocations: 2.084 MB / 458.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02904/0.3283, allocations: 18.5 MB / 477.1 MB, free: 13.57 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches