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_RL.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 4.0.0+maint.om/package.mo", uses=false) 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) 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 107.8 kB / 17.74 MB, free: 5.227 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.001202/0.001202, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009483/0.0009483, allocations: 47.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2219, allocations: 49.44 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.00644/0.2284, allocations: 5.845 MB / 407.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2305, allocations: 1.543 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.2308, allocations: 19.94 kB / 408.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.2311, allocations: 198.1 kB / 409.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.2316, allocations: 285.6 kB / 409.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.2323, allocations: 419.5 kB / 409.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.2334, allocations: 1.395 MB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.2341, allocations: 0.5349 MB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.2346, allocations: 482.2 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.2351, allocations: 0.5249 MB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.2352, allocations: 144 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2354, allocations: 148 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2357, allocations: 271.1 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.2361, allocations: 0.5871 MB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2373, allocations: 1.585 MB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2374, allocations: 3.938 kB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2374, allocations: 4 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2374, allocations: 4 kB / 415.4 MB, free: 10.84 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002184/0.2396, allocations: 1.34 MB / 416.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2396, allocations: 8.031 kB / 416.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2398, allocations: 119.5 kB / 416.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.2407, allocations: 0.6612 MB / 417.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.2408, allocations: 66.38 kB / 417.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2409, allocations: 96.36 kB / 417.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2425, allocations: 0.979 MB / 418.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.2426, allocations: 3.906 kB / 418.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.2427, allocations: 36 kB / 418.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.2427, allocations: 24 kB / 418.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.2441, allocations: 0.7339 MB / 419.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.2485, allocations: 3.732 MB / 423.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.2499, allocations: 0.8221 MB / 424 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.2508, allocations: 0.4908 MB / 424.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/0.2508, allocations: 20.58 kB / 424.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007981/0.2516, allocations: 480.3 kB / 425 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.998e-06/0.2517, allocations: 4 kB / 425 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of matching and sorting (n=84): time 0.004184/0.2559, allocations: 1.651 MB / 426.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.2559, allocations: 127.7 kB / 426.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.2567, allocations: 0.6604 MB / 427.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.2567, allocations: 45.69 kB / 427.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.257, allocations: 372.6 kB / 427.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.2572, allocations: 252.4 kB / 428.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.2574, allocations: 154.6 kB / 428.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2577, allocations: 382.8 kB / 428.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.2582, allocations: 276.8 kB / 428.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.2589, allocations: 435.6 kB / 429.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2599, allocations: 0.6855 MB / 430 MB, free: 11.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.26, allocations: 4 kB / 430 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001645/0.2616, allocations: 0.9799 MB / 431 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.2616, allocations: 33.7 kB / 431 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.2617, allocations: 4 kB / 431 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.2625, allocations: 285.9 kB / 431.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2629, allocations: 111.8 kB / 431.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005352/0.2683, allocations: 5.046 MB / 436.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.2688, allocations: 91.25 kB / 436.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.2688, allocations: 28 kB / 436.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006977/0.2696, allocations: 454 kB / 437 MB, free: 4.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005802/0.2701, allocations: 427.6 kB / 437.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009567/0.2711, allocations: 0.6505 MB / 438.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.2711, allocations: 4 kB / 438.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001533/0.2727, allocations: 0.964 MB / 439 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2727, allocations: 41.69 kB / 439.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2727, allocations: 4.531 kB / 439.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.2734, allocations: 288.8 kB / 439.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.2738, allocations: 103.8 kB / 439.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/0.2791, allocations: 5.038 MB / 444.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.2795, allocations: 63.61 kB / 444.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.2796, allocations: 32 kB / 444.6 MB, free: 12.35 MB / 366.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_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$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 (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.2798, allocations: 253.7 kB / 444.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2799, allocations: 82.97 kB / 444.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2802, allocations: 100.4 kB / 445 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2802, allocations: 3.984 kB / 445 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2802, allocations: 0 / 445 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.2805, allocations: 263.8 kB / 445.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2806, allocations: 19.94 kB / 445.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.281, allocations: 31.97 kB / 445.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.2812, allocations: 60.92 kB / 445.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00245/0.2836, allocations: 1.068 MB / 446.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001856/0.2855, allocations: 1.254 MB / 447.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005378/0.2861, allocations: 331.8 kB / 448.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005145/0.2866, allocations: 467.1 kB / 448.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.2866, allocations: 0 / 448.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.2894, allocations: 1.839 MB / 450.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of SimCode: time 0.002528/0.292, allocations: 2.149 MB / 452.5 MB, free: 4.289 MB / 366.1 MB Notification: Performance of Templates: time 0.02739/0.3194, allocations: 18.4 MB / 470.9 MB, free: 2.031 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_RL/HBridge_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches