Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2121, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.006642/0.2188, allocations: 6.122 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2214, allocations: 1.668 MB / 417.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.2217, allocations: 23.88 kB / 417.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.2221, allocations: 206 kB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.2226, allocations: 289.5 kB / 418.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.2233, allocations: 431.4 kB / 418.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2245, allocations: 1.43 MB / 420.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.2252, allocations: 0.5468 MB / 420.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.2256, allocations: 498.2 kB / 421.2 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.2261, allocations: 0.5211 MB / 421.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.2263, allocations: 144 kB / 421.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2265, allocations: 148 kB / 422 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.2267, allocations: 295 kB / 422.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.2272, allocations: 0.591 MB / 422.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2284, allocations: 1.617 MB / 424.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2284, allocations: 0 / 424.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2284, allocations: 0 / 424.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.2285, allocations: 0 / 424.5 MB, free: 3.016 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002208/0.2307, allocations: 1.367 MB / 425.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2307, allocations: 8.031 kB / 425.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2309, allocations: 119.5 kB / 426 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/0.2319, allocations: 0.6806 MB / 426.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.2319, allocations: 66.38 kB / 426.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2321, allocations: 88.38 kB / 426.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2337, allocations: 1.002 MB / 427.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2337, allocations: 3.938 kB / 427.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.2338, allocations: 39.98 kB / 427.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.2338, allocations: 24 kB / 427.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2352, allocations: 0.7496 MB / 428.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/0.2396, allocations: 3.774 MB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.241, allocations: 0.81 MB / 433.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/0.2418, allocations: 0.5015 MB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.2419, allocations: 12.64 kB / 433.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008218/0.2427, allocations: 484.4 kB / 434.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.2427, allocations: 0 / 434.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004138/0.2469, allocations: 1.67 MB / 435.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.247, allocations: 119.8 kB / 436 MB, free: 7.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.2477, allocations: 0.676 MB / 436.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.2478, allocations: 45.7 kB / 436.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.2481, allocations: 376.6 kB / 437.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2483, allocations: 252.4 kB / 437.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.2485, allocations: 162.5 kB / 437.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2487, allocations: 386.7 kB / 437.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.2492, allocations: 280.8 kB / 438.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.2498, allocations: 442.8 kB / 438.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2509, allocations: 0.6691 MB / 439.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2509, allocations: 8 kB / 439.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001611/0.2525, allocations: 0.9836 MB / 440.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.2526, allocations: 37.7 kB / 440.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2526, allocations: 8.438 kB / 440.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/0.2534, allocations: 288.6 kB / 440.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.2538, allocations: 115.8 kB / 440.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/0.2593, allocations: 5.049 MB / 445.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.2598, allocations: 83.34 kB / 445.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.2599, allocations: 24 kB / 445.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007383/0.2606, allocations: 466 kB / 446.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006115/0.2612, allocations: 422.8 kB / 446.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001009/0.2623, allocations: 0.6574 MB / 447.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.2623, allocations: 7.938 kB / 447.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001589/0.2639, allocations: 0.9529 MB / 448.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.2639, allocations: 41.78 kB / 448.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2639, allocations: 4 kB / 448.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007442/0.2647, allocations: 300.6 kB / 448.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.2651, allocations: 103.8 kB / 448.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.2705, allocations: 5.035 MB / 453.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.271, allocations: 75.42 kB / 453.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.2711, allocations: 32 kB / 453.9 MB, free: 4.363 MB / 366.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.0002395/0.2713, allocations: 252.2 kB / 454.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2715, allocations: 86.95 kB / 454.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.2717, allocations: 108.3 kB / 454.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2717, allocations: 3.984 kB / 454.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2717, allocations: 3.938 kB / 454.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.2721, allocations: 255.8 kB / 454.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.2722, allocations: 19.98 kB / 454.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.2726, allocations: 35.98 kB / 454.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.2728, allocations: 64.91 kB / 454.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00249/0.2753, allocations: 1.064 MB / 455.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001926/0.2772, allocations: 1.285 MB / 457 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005444/0.2778, allocations: 327.8 kB / 457.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005303/0.2783, allocations: 467 kB / 457.8 MB, free: 380 kB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.2783, allocations: 0 / 457.8 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.2813, allocations: 1.859 MB / 459.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.002851/0.2842, allocations: 2.162 MB / 461.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Templates: time 0.02907/0.3133, allocations: 18.6 MB / 480.4 MB, free: 9.73 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches