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_RL.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.001659/0.001659, allocations: 111.2 kB / 21.18 MB, free: 0.6289 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.002014/0.002014, allocations: 206.8 kB / 24.48 MB, free: 4.035 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.439/1.439, allocations: 230.4 MB / 258.1 MB, free: 8.156 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_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-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") [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.001902/0.001902, allocations: 75.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2127, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.007783/0.2205, allocations: 6.196 MB / 438.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.2234, allocations: 1.687 MB / 440 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.2239, allocations: 23.88 kB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.2243, allocations: 198.1 kB / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.2249, allocations: 293.5 kB / 440.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.2258, allocations: 443.2 kB / 440.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.2272, allocations: 1.419 MB / 442.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.2278, allocations: 380 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.2283, allocations: 0.4903 MB / 443.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.229, allocations: 0.5211 MB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.2291, allocations: 152 kB / 443.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2293, allocations: 148 kB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.2296, allocations: 287 kB / 444.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005305/0.2301, allocations: 0.5909 MB / 444.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.2317, allocations: 1.619 MB / 446.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2317, allocations: 0 / 446.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2317, allocations: 0 / 446.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2317, allocations: 0 / 446.5 MB, free: 8.887 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.002605/0.2343, allocations: 1.563 MB / 448.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2344, allocations: 12.03 kB / 448.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2346, allocations: 120.2 kB / 448.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.2356, allocations: 0.6811 MB / 448.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.2357, allocations: 66.38 kB / 448.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2359, allocations: 92.36 kB / 449 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.2376, allocations: 0.9908 MB / 450 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.2376, allocations: 4 kB / 450 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.2377, allocations: 39.94 kB / 450.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2377, allocations: 28 kB / 450.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.2392, allocations: 0.7533 MB / 450.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.2442, allocations: 3.783 MB / 454.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2457, allocations: 0.756 MB / 455.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/0.2466, allocations: 451.1 kB / 455.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.2466, allocations: 8.656 kB / 455.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008591/0.2475, allocations: 488.4 kB / 456.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.304e-06/0.2475, allocations: 0 / 456.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004391/0.2519, allocations: 1.663 MB / 458 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.252, allocations: 119.8 kB / 458.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/0.2528, allocations: 0.6761 MB / 458.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.2529, allocations: 45.64 kB / 458.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.2532, allocations: 393.2 kB / 459.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.2534, allocations: 265.8 kB / 459.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.2537, allocations: 154.6 kB / 459.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.2539, allocations: 390.8 kB / 460 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.2545, allocations: 276.8 kB / 460.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.2551, allocations: 434.8 kB / 460.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2563, allocations: 0.6847 MB / 461.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2563, allocations: 0 / 461.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001775/0.2581, allocations: 0.9689 MB / 462.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.2581, allocations: 40.36 kB / 462.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.2581, allocations: 7.938 kB / 462.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/0.259, allocations: 285.5 kB / 462.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.2594, allocations: 111.9 kB / 462.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/0.2655, allocations: 5.062 MB / 467.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.266, allocations: 91.42 kB / 467.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.2661, allocations: 28 kB / 467.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008134/0.2669, allocations: 458 kB / 468.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006401/0.2675, allocations: 422.8 kB / 468.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/0.2686, allocations: 0.6574 MB / 469.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.2686, allocations: 4 kB / 469.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001684/0.2703, allocations: 0.9492 MB / 470.4 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.2703, allocations: 33.7 kB / 470.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2703, allocations: 4 kB / 470.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007802/0.2711, allocations: 297.9 kB / 470.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.2715, allocations: 103.8 kB / 470.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006057/0.2776, allocations: 5.056 MB / 475.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.2782, allocations: 79.62 kB / 476 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.2783, allocations: 24 kB / 476 MB, free: 10.14 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.0002912/0.2785, allocations: 248.2 kB / 476.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.2787, allocations: 95.38 kB / 476.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2789, allocations: 100.5 kB / 476.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2789, allocations: 3.984 kB / 476.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2789, allocations: 7.938 kB / 476.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.2793, allocations: 260.3 kB / 476.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2794, allocations: 16 kB / 476.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.2798, allocations: 31.97 kB / 476.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.28, allocations: 68.91 kB / 476.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002554/0.2825, allocations: 1.073 MB / 477.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00206/0.2846, allocations: 1.274 MB / 479.2 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005549/0.2851, allocations: 307.8 kB / 479.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.2857, allocations: 475 kB / 479.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.2857, allocations: 0 / 479.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.289, allocations: 1.773 MB / 481.7 MB, free: 4.297 MB / 382.1 MB Notification: Performance of SimCode: time 0.003042/0.292, allocations: 2.21 MB / 483.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of Templates: time 0.03134/0.3233, allocations: 19.25 MB / 0.4914 GB, free: 14.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_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_RL/HBridge_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.781660784967244]