Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2173, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.006638/0.224, allocations: 6.016 MB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2265, allocations: 1.648 MB / 417.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.2269, allocations: 23.88 kB / 417.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.2274, allocations: 202.1 kB / 417.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.2278, allocations: 281.6 kB / 418.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.2286, allocations: 423.5 kB / 418.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.2297, allocations: 1.395 MB / 420 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.2304, allocations: 0.5466 MB / 420.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.2308, allocations: 494.2 kB / 421 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.2313, allocations: 0.5093 MB / 421.5 MB, free: 6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.2314, allocations: 144 kB / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.2316, allocations: 144 kB / 421.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.2318, allocations: 283.1 kB / 422.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.2323, allocations: 0.5793 MB / 422.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.2335, allocations: 1.586 MB / 424.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2335, allocations: 7.984 kB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2335, allocations: 0 / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.2335, allocations: 0 / 424.2 MB, free: 3.262 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002078/0.2356, allocations: 1.347 MB / 425.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2356, allocations: 8.031 kB / 425.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2358, allocations: 115.6 kB / 425.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.2367, allocations: 0.6689 MB / 426.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.2368, allocations: 66.38 kB / 426.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2369, allocations: 92.38 kB / 426.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.2385, allocations: 0.9712 MB / 427.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2385, allocations: 4 kB / 427.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.2386, allocations: 36 kB / 427.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2386, allocations: 20 kB / 427.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.24, allocations: 0.7378 MB / 428.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.2444, allocations: 3.743 MB / 432 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.2458, allocations: 0.8024 MB / 432.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.2466, allocations: 471.1 kB / 433.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.2466, allocations: 12.64 kB / 433.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007867/0.2474, allocations: 475.2 kB / 433.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.2474, allocations: 4 kB / 433.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.005107/0.2525, allocations: 1.81 MB / 435.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.2526, allocations: 119.5 kB / 435.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/0.2534, allocations: 0.6683 MB / 436.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.2535, allocations: 41.7 kB / 436.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.2537, allocations: 372.5 kB / 436.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.2539, allocations: 248.5 kB / 437 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2541, allocations: 154.6 kB / 437.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2543, allocations: 382.8 kB / 437.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.2548, allocations: 276.8 kB / 437.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.2554, allocations: 430.8 kB / 438.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2564, allocations: 0.673 MB / 438.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2564, allocations: 0 / 438.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00159/0.258, allocations: 0.956 MB / 439.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.2581, allocations: 37.69 kB / 439.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2581, allocations: 7.938 kB / 439.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008558/0.259, allocations: 304.6 kB / 440.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.2594, allocations: 103.9 kB / 440.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.2644, allocations: 3.8 MB / 444.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.2649, allocations: 91.2 kB / 444.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.2649, allocations: 28 kB / 444.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007396/0.2657, allocations: 454 kB / 444.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000564/0.2663, allocations: 418.8 kB / 445.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009478/0.2672, allocations: 0.6496 MB / 445.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.2673, allocations: 0 / 445.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001534/0.2688, allocations: 0.9438 MB / 446.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.2688, allocations: 45.58 kB / 446.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2689, allocations: 4 kB / 446.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007761/0.2696, allocations: 301.4 kB / 447 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.27, allocations: 103.8 kB / 447.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004904/0.2749, allocations: 3.802 MB / 450.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.2754, allocations: 67.42 kB / 451 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.2755, allocations: 24 kB / 451 MB, free: 7.527 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 (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.0002424/0.2757, allocations: 252 kB / 451.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2759, allocations: 83.06 kB / 451.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.2761, allocations: 92.39 kB / 451.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.2761, allocations: 3.984 kB / 451.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2761, allocations: 0 / 451.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.2765, allocations: 263.8 kB / 451.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2766, allocations: 16 kB / 451.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.277, allocations: 35.97 kB / 451.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2771, allocations: 68.52 kB / 451.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002398/0.2796, allocations: 1.044 MB / 452.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001901/0.2815, allocations: 1.248 MB / 454.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005339/0.282, allocations: 317.1 kB / 454.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005607/0.2826, allocations: 471 kB / 454.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Backend: time 6.31e-07/0.2826, allocations: 0 / 454.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.2856, allocations: 1.667 MB / 456.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of SimCode: time 0.002555/0.2881, allocations: 2.09 MB / 458.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02885/0.317, allocations: 18.51 MB / 477.1 MB, free: 13.37 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches