Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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=500,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.84 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2143, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.007609/0.2219, allocations: 6.079 MB / 438.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.2246, allocations: 1.672 MB / 439.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.225, allocations: 23.88 kB / 439.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.2254, allocations: 194.1 kB / 440.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.2259, allocations: 281.6 kB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.2267, allocations: 439.2 kB / 440.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.2281, allocations: 1.395 MB / 442.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006086/0.2287, allocations: 371.8 kB / 442.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.2292, allocations: 486.2 kB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.2298, allocations: 0.5172 MB / 443.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.23, allocations: 148 kB / 443.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2302, allocations: 144 kB / 443.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.2304, allocations: 279.1 kB / 444.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.231, allocations: 0.5794 MB / 444.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.2326, allocations: 1.592 MB / 446.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2326, allocations: 0 / 446.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.2326, allocations: 4 kB / 446.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.2326, allocations: 0 / 446.3 MB, free: 9.125 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.00272/0.2354, allocations: 1.527 MB / 447.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2354, allocations: 12.03 kB / 447.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.2356, allocations: 120.2 kB / 447.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.2367, allocations: 0.6772 MB / 448.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.2368, allocations: 70.38 kB / 448.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.237, allocations: 88.38 kB / 448.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.2388, allocations: 0.9713 MB / 449.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.2388, allocations: 3.938 kB / 449.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/0.2389, allocations: 47.98 kB / 449.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.2389, allocations: 20 kB / 449.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2404, allocations: 0.73 MB / 450.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.2456, allocations: 3.744 MB / 454.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.2471, allocations: 0.7417 MB / 455 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/0.248, allocations: 411.1 kB / 455.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.248, allocations: 12.64 kB / 455.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.2489, allocations: 471.3 kB / 455.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.2489, allocations: 0 / 455.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.005598/0.2545, allocations: 1.802 MB / 457.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.2546, allocations: 115.4 kB / 457.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.2555, allocations: 0.6839 MB / 458.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.2555, allocations: 41.7 kB / 458.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.2559, allocations: 381.2 kB / 458.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.2561, allocations: 253.9 kB / 459.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.2564, allocations: 150.6 kB / 459.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.2566, allocations: 390.8 kB / 459.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.2572, allocations: 276.8 kB / 459.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.2579, allocations: 422.8 kB / 460.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.259, allocations: 0.6652 MB / 461 MB, free: 9.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.259, allocations: 4 kB / 461 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001806/0.2608, allocations: 0.9598 MB / 462 MB, free: 8.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.2609, allocations: 36.67 kB / 462 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2609, allocations: 7.938 kB / 462 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008581/0.2617, allocations: 305.2 kB / 462.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.2621, allocations: 99.83 kB / 462.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.2675, allocations: 3.824 MB / 466.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.2681, allocations: 91.38 kB / 466.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.2681, allocations: 28 kB / 466.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009046/0.269, allocations: 450 kB / 466.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006593/0.2697, allocations: 418.8 kB / 467.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/0.2708, allocations: 0.6535 MB / 467.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.2708, allocations: 0 / 467.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001714/0.2725, allocations: 0.9291 MB / 468.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.2725, allocations: 37.64 kB / 468.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2725, allocations: 4 kB / 468.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/0.2733, allocations: 296.9 kB / 469.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.2737, allocations: 99.86 kB / 469.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.2792, allocations: 3.808 MB / 473 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.2797, allocations: 67.66 kB / 473.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.2798, allocations: 32 kB / 473.1 MB, free: 13.3 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.000272/0.28, allocations: 240 kB / 473.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2802, allocations: 91.42 kB / 473.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.2804, allocations: 100.4 kB / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2804, allocations: 3.984 kB / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2804, allocations: 0 / 473.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.2808, allocations: 260.3 kB / 473.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2809, allocations: 20 kB / 473.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.2813, allocations: 27.97 kB / 473.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.2815, allocations: 76.48 kB / 473.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002518/0.284, allocations: 1.049 MB / 475 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002072/0.2861, allocations: 1.236 MB / 476.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005522/0.2866, allocations: 305 kB / 476.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006228/0.2872, allocations: 471 kB / 477 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.2872, allocations: 0 / 477 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.2904, allocations: 1.6 MB / 478.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of SimCode: time 0.003059/0.2935, allocations: 2.117 MB / 480.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of Templates: time 0.03159/0.3251, allocations: 19.14 MB / 499.8 MB, free: 2.602 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.829299110919237]