Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 43.94 kB / 379 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2138, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.007604/0.2214, allocations: 5.517 MB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2242, allocations: 1.633 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.2245, allocations: 31.75 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.225, allocations: 202.1 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.2255, allocations: 285.5 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.2263, allocations: 439.4 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.2278, allocations: 1.431 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006361/0.2284, allocations: 379.5 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.2289, allocations: 0.4944 MB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.2295, allocations: 0.5288 MB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2297, allocations: 148 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2299, allocations: 148 kB / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.2302, allocations: 283.1 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.2307, allocations: 485.8 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2323, allocations: 1.627 MB / 446 MB, free: 9.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2323, allocations: 4 kB / 446 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2323, allocations: 4 kB / 446 MB, free: 9.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.2323, allocations: 0 / 446 MB, free: 9.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002721/0.235, allocations: 1.484 MB / 447.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2351, allocations: 8.031 kB / 447.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.2353, allocations: 128.2 kB / 447.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2364, allocations: 0.6154 MB / 448.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.2365, allocations: 70.36 kB / 448.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.2366, allocations: 100.4 kB / 448.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.2384, allocations: 1.037 MB / 449.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.2385, allocations: 0 / 449.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.2386, allocations: 36 kB / 449.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2386, allocations: 31.92 kB / 449.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.2401, allocations: 0.7418 MB / 450.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.2449, allocations: 3.274 MB / 453.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.2464, allocations: 0.7641 MB / 454.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009236/0.2473, allocations: 451.4 kB / 454.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.2473, allocations: 8.656 kB / 454.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009265/0.2483, allocations: 0.4982 MB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.644e-06/0.2483, allocations: 3.938 kB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004456/0.2527, allocations: 1.505 MB / 456.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.2528, allocations: 123.7 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.2534, allocations: 0.5301 MB / 457.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.2535, allocations: 41.7 kB / 457.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.2538, allocations: 401.1 kB / 457.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.2541, allocations: 265.8 kB / 458.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.2543, allocations: 162.6 kB / 458.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.2545, allocations: 378.8 kB / 458.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.2551, allocations: 306.5 kB / 458.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007388/0.2559, allocations: 0.5038 MB / 459.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2571, allocations: 0.6808 MB / 460.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.2571, allocations: 4 kB / 460.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001795/0.2589, allocations: 0.9819 MB / 461 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.2589, allocations: 42.19 kB / 461.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2589, allocations: 8 kB / 461.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/0.2598, allocations: 289.4 kB / 461.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.2602, allocations: 107.8 kB / 461.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.2661, allocations: 4.736 MB / 466.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2666, allocations: 79.59 kB / 466.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.2666, allocations: 35.94 kB / 466.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007866/0.2674, allocations: 479.8 kB / 466.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006949/0.2681, allocations: 500 kB / 467.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.2692, allocations: 0.6613 MB / 468 MB, free: 2.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/0.2692, allocations: 0 / 468 MB, free: 2.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001716/0.2709, allocations: 0.9741 MB / 468.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.2709, allocations: 37.69 kB / 469 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2709, allocations: 4.5 kB / 469 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.2718, allocations: 292.8 kB / 469.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.2722, allocations: 103.8 kB / 469.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/0.278, allocations: 4.736 MB / 474.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.2785, allocations: 67.75 kB / 474.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.2785, allocations: 28 kB / 474.2 MB, free: 11.71 MB / 382.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 (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.0002354/0.2787, allocations: 254.4 kB / 474.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2789, allocations: 75.53 kB / 474.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.2791, allocations: 91.19 kB / 474.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.2791, allocations: 3.984 kB / 474.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2791, allocations: 0 / 474.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.2794, allocations: 171.2 kB / 474.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.2795, allocations: 16 kB / 474.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2799, allocations: 35.97 kB / 474.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2801, allocations: 76.81 kB / 474.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002601/0.2827, allocations: 1.064 MB / 476 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002078/0.2848, allocations: 1.263 MB / 477.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005685/0.2853, allocations: 311.8 kB / 477.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004276/0.2857, allocations: 354.9 kB / 477.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.2857, allocations: 0 / 477.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.2889, allocations: 1.838 MB / 479.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of SimCode: time 0.00288/0.2918, allocations: 2.142 MB / 481.9 MB, free: 3.867 MB / 382.1 MB Notification: Performance of Templates: time 0.03031/0.3221, allocations: 18.77 MB / 0.4889 GB, free: 1.316 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_RL/HBridge_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.959984881999844]