Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 102.2 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 185.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.92 kB / 329.3 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07598, allocations: 46.62 MB / 375.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.1592/0.2352, allocations: 5.681 MB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.238, allocations: 1.573 MB / 383.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.2388, allocations: 22.12 kB / 383.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.2393, allocations: 189.9 kB / 383.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.2399, allocations: 275.5 kB / 383.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008268/0.2408, allocations: 410.9 kB / 384 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.2421, allocations: 1.369 MB / 385.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.2428, allocations: 0.5291 MB / 385.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.2432, allocations: 480 kB / 386.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.2437, allocations: 0.4999 MB / 386.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.244, allocations: 141.4 kB / 387 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2442, allocations: 141.7 kB / 387.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2444, allocations: 278.5 kB / 387.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.2448, allocations: 0.5732 MB / 388 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.2463, allocations: 1.551 MB / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2463, allocations: 4.562 kB / 389.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2463, allocations: 1.219 kB / 389.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.2463, allocations: 0 / 389.5 MB, free: 6.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002105/0.2484, allocations: 1.315 MB / 390.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2485, allocations: 11.78 kB / 390.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2487, allocations: 127.6 kB / 391 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.2496, allocations: 0.6467 MB / 391.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.2496, allocations: 66.88 kB / 391.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2497, allocations: 83.3 kB / 391.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2513, allocations: 0.9589 MB / 392.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2513, allocations: 4.969 kB / 392.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.2514, allocations: 37.55 kB / 392.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.2514, allocations: 20.81 kB / 392.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.2527, allocations: 0.7158 MB / 393.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.257, allocations: 3.674 MB / 397.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2584, allocations: 0.8044 MB / 398 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.2591, allocations: 479.4 kB / 398.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.2592, allocations: 9.547 kB / 398.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.26, allocations: 474 kB / 398.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.2601, allocations: 0.5312 kB / 398.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.004998/0.2651, allocations: 1.802 MB / 400.7 MB, free: 392 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2651, allocations: 117.9 kB / 400.9 MB, free: 260 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.2659, allocations: 0.6668 MB / 401.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.2659, allocations: 43.94 kB / 401.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2662, allocations: 363.9 kB / 401.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2664, allocations: 243.9 kB / 402.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.2667, allocations: 151.8 kB / 402.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2668, allocations: 385.6 kB / 402.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.2674, allocations: 274.2 kB / 403 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.268, allocations: 433.9 kB / 403.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2691, allocations: 0.667 MB / 404 MB, free: 14.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2691, allocations: 2.031 kB / 404 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001699/0.2708, allocations: 0.9656 MB / 405 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.2709, allocations: 33.7 kB / 405 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2709, allocations: 4.438 kB / 405.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/0.2718, allocations: 304.5 kB / 405.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2722, allocations: 101.5 kB / 405.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.2772, allocations: 3.804 MB / 409.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.2778, allocations: 85.3 kB / 409.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.2779, allocations: 30.47 kB / 409.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007824/0.2787, allocations: 443.2 kB / 409.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005824/0.2792, allocations: 426.9 kB / 410.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009838/0.2802, allocations: 0.6466 MB / 410.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.2803, allocations: 2.234 kB / 410.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001591/0.2819, allocations: 0.938 MB / 411.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.2819, allocations: 41.61 kB / 411.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2819, allocations: 7.719 kB / 411.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/0.2827, allocations: 300.9 kB / 412.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.283, allocations: 100 kB / 412.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.288, allocations: 3.807 MB / 416 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.2886, allocations: 74.12 kB / 416.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.2886, allocations: 30.61 kB / 416.2 MB, free: 5.469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,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,hbridge.andCondition_n.y,hbridge.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.0002542/0.2889, allocations: 240.5 kB / 416.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.289, allocations: 82.69 kB / 416.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.2893, allocations: 102.8 kB / 416.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2893, allocations: 3.984 kB / 416.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2893, allocations: 5.312 kB / 416.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.2897, allocations: 252.3 kB / 416.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.2898, allocations: 17.91 kB / 416.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.2903, allocations: 29.97 kB / 416.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.2904, allocations: 62.92 kB / 416.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002496/0.2929, allocations: 1.038 MB / 418 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001938/0.2949, allocations: 1.234 MB / 419.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005574/0.2955, allocations: 321.1 kB / 419.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005625/0.296, allocations: 463.1 kB / 420 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Backend: time 2.9e-07/0.296, allocations: 4 kB / 420 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003/0.299, allocations: 1.651 MB / 421.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of SimCode: time 0.002753/0.3018, allocations: 2.05 MB / 423.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.0286/0.3304, allocations: 18.3 MB / 442 MB, free: 12.19 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches