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_R.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.001333/0.001333, allocations: 106.8 kB / 21.19 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.001393/0.001393, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.781 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.95 kB / 379 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2074, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.007848/0.2152, allocations: 5.42 MB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.2182, allocations: 1.633 MB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.2185, allocations: 31.75 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.2189, allocations: 194.1 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.2194, allocations: 277.7 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.2202, allocations: 431.4 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2215, allocations: 1.4 MB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.2221, allocations: 376.4 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.2226, allocations: 494.2 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.2231, allocations: 0.5172 MB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.2233, allocations: 144 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2235, allocations: 144 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.2238, allocations: 279.1 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.2242, allocations: 481.8 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.2257, allocations: 1.6 MB / 445.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2257, allocations: 0 / 445.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2257, allocations: 0 / 445.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2257, allocations: 4 kB / 445.7 MB, free: 9.254 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002471/0.2282, allocations: 1.456 MB / 447.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2283, allocations: 12.02 kB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.2284, allocations: 120.2 kB / 447.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2295, allocations: 0.6039 MB / 447.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.2296, allocations: 70.31 kB / 448 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2297, allocations: 92.36 kB / 448.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.2314, allocations: 1.021 MB / 449.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2314, allocations: 0 / 449.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.2315, allocations: 32 kB / 449.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.2316, allocations: 31.98 kB / 449.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.233, allocations: 0.73 MB / 449.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.2377, allocations: 3.242 MB / 453.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2391, allocations: 0.7308 MB / 453.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/0.2399, allocations: 415.1 kB / 454.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.24, allocations: 8.656 kB / 454.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008922/0.2409, allocations: 496.9 kB / 454.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.2409, allocations: 0 / 454.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.005506/0.2464, allocations: 1.72 MB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.2464, allocations: 119.4 kB / 456.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.2471, allocations: 0.5339 MB / 457.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.2472, allocations: 49.62 kB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.2475, allocations: 393.1 kB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.2477, allocations: 249.9 kB / 457.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.248, allocations: 162.6 kB / 458 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2482, allocations: 374.8 kB / 458.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.2487, allocations: 302.5 kB / 458.6 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.2495, allocations: 0.5038 MB / 459.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.2506, allocations: 0.6652 MB / 459.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2506, allocations: 4 kB / 459.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001758/0.2523, allocations: 0.9694 MB / 460.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.2524, allocations: 34.2 kB / 460.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2524, allocations: 4 kB / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.2533, allocations: 304.6 kB / 461.1 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.2537, allocations: 99.81 kB / 461.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.259, allocations: 3.614 MB / 464.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.2594, allocations: 71.61 kB / 464.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.2595, allocations: 24 kB / 464.9 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007765/0.2602, allocations: 475.8 kB / 465.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006733/0.2609, allocations: 0.4946 MB / 465.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.2619, allocations: 0.6457 MB / 466.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/0.2619, allocations: 4 kB / 466.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001651/0.2636, allocations: 0.9499 MB / 467.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.2636, allocations: 34.2 kB / 467.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2636, allocations: 4 kB / 467.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/0.2645, allocations: 312.9 kB / 467.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.2648, allocations: 99.77 kB / 467.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.27, allocations: 3.6 MB / 471.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.2705, allocations: 71.61 kB / 471.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2705, allocations: 28 kB / 471.6 MB, free: 14.48 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 (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.0002491/0.2708, allocations: 248.1 kB / 471.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2709, allocations: 79.47 kB / 471.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.2711, allocations: 91.08 kB / 472 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2711, allocations: 3.984 kB / 472 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2711, allocations: 3.938 kB / 472 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.2714, allocations: 167.2 kB / 472.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2715, allocations: 24 kB / 472.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2719, allocations: 27.97 kB / 472.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2721, allocations: 68.55 kB / 472.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002513/0.2746, allocations: 1.037 MB / 473.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002034/0.2766, allocations: 1.24 MB / 474.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005464/0.2772, allocations: 297 kB / 474.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.2776, allocations: 354.9 kB / 475.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.2776, allocations: 0 / 475.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.2806, allocations: 1.655 MB / 476.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of SimCode: time 0.002752/0.2834, allocations: 2.081 MB / 479 MB, free: 6.984 MB / 382.1 MB Notification: Performance of Templates: time 0.02935/0.3127, allocations: 18.53 MB / 497.5 MB, free: 4.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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.770480774001044]