Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 109 kB / 18.36 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001687, allocations: 183.1 kB / 19.29 MB, free: 3.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07231, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.1542/0.2265, allocations: 5.675 MB / 381.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2287, allocations: 1.573 MB / 383.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.2291, allocations: 23.12 kB / 383.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.2294, allocations: 180.6 kB / 383.3 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.2299, allocations: 263 kB / 383.5 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.2305, allocations: 417.6 kB / 383.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2317, allocations: 1.363 MB / 385.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.2323, allocations: 0.5367 MB / 385.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.2327, allocations: 472.1 kB / 386.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.2332, allocations: 0.5039 MB / 386.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2333, allocations: 142.5 kB / 386.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.2335, allocations: 141 kB / 387.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2337, allocations: 274.1 kB / 387.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.2341, allocations: 0.5721 MB / 387.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2353, allocations: 1.549 MB / 389.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2353, allocations: 5.031 kB / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2353, allocations: 0 / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.2354, allocations: 0 / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002067/0.2374, allocations: 1.318 MB / 390.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2375, allocations: 9.859 kB / 390.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2377, allocations: 120.5 kB / 390.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.2385, allocations: 0.6459 MB / 391.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.2386, allocations: 64.91 kB / 391.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2387, allocations: 88.97 kB / 391.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2401, allocations: 0.9565 MB / 392.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.2402, allocations: 5 kB / 392.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.2403, allocations: 39.44 kB / 392.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2403, allocations: 21.56 kB / 392.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2416, allocations: 0.7167 MB / 393.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.2458, allocations: 3.679 MB / 397.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.2471, allocations: 0.8058 MB / 397.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.2479, allocations: 474.1 kB / 398.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.2479, allocations: 9.172 kB / 398.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000766/0.2487, allocations: 474.7 kB / 398.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.2487, allocations: 0 / 398.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.005087/0.2538, allocations: 1.801 MB / 400.7 MB, free: 396 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2538, allocations: 115.5 kB / 400.8 MB, free: 268 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.2546, allocations: 0.6662 MB / 401.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.2547, allocations: 45.83 kB / 401.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.255, allocations: 364 kB / 401.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.2551, allocations: 244.6 kB / 402.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.2554, allocations: 151.5 kB / 402.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2556, allocations: 389.5 kB / 402.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.2561, allocations: 269 kB / 402.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.2567, allocations: 437.4 kB / 403.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2578, allocations: 0.6631 MB / 404 MB, free: 14.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.2578, allocations: 2.375 kB / 404 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001675/0.2595, allocations: 0.9627 MB / 404.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.2596, allocations: 37.38 kB / 405 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2596, allocations: 3.375 kB / 405 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/0.2605, allocations: 308.6 kB / 405.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.2609, allocations: 101.9 kB / 405.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.2659, allocations: 3.802 MB / 409.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.2665, allocations: 89.44 kB / 409.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.2665, allocations: 25.91 kB / 409.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000746/0.2673, allocations: 443 kB / 409.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005806/0.2679, allocations: 422.5 kB / 410.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009653/0.2688, allocations: 0.6469 MB / 410.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.2689, allocations: 9.047 kB / 410.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001559/0.2704, allocations: 0.9392 MB / 411.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.2705, allocations: 33.48 kB / 411.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2705, allocations: 8.266 kB / 411.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.2713, allocations: 302.5 kB / 412.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.2716, allocations: 100.8 kB / 412.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.2764, allocations: 3.808 MB / 416 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.2769, allocations: 69.42 kB / 416 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.277, allocations: 30 kB / 416.1 MB, free: 5.465 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,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,hbridge.andCondition_n.y,hbridge.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.0002521/0.2773, allocations: 244.6 kB / 416.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2774, allocations: 82.84 kB / 416.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2776, allocations: 103.4 kB / 416.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2776, allocations: 7.984 kB / 416.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2777, allocations: 4 kB / 416.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.278, allocations: 254.2 kB / 416.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.2781, allocations: 20.11 kB / 416.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.2785, allocations: 31.11 kB / 416.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.2786, allocations: 62.69 kB / 416.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002394/0.281, allocations: 1.036 MB / 417.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001857/0.2829, allocations: 1.236 MB / 419.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005245/0.2834, allocations: 317.1 kB / 419.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005576/0.284, allocations: 463 kB / 419.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.284, allocations: 4 kB / 419.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.2869, allocations: 1.651 MB / 421.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of SimCode: time 0.00256/0.2895, allocations: 2.044 MB / 423.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.02738/0.3169, allocations: 18.05 MB / 441.6 MB, free: 12.42 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_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/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches