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_RL.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_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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001033/0.001034, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.373/1.373, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001183/0.001183, allocations: 51.92 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07382/0.07501, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.1616/0.2366, allocations: 5.786 MB / 381.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2389, allocations: 1.58 MB / 383.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.2393, allocations: 23.16 kB / 383.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.2396, allocations: 190.5 kB / 383.4 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.2401, allocations: 292.9 kB / 383.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.2407, allocations: 412.1 kB / 384.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.2419, allocations: 1.398 MB / 385.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.2426, allocations: 0.5366 MB / 386.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.243, allocations: 493.3 kB / 386.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.2435, allocations: 0.5089 MB / 387.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.2436, allocations: 143.9 kB / 387.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.2438, allocations: 143.8 kB / 387.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.244, allocations: 288 kB / 387.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.2444, allocations: 0.5822 MB / 388.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.2458, allocations: 1.585 MB / 389.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2458, allocations: 0.75 kB / 389.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2458, allocations: 1.125 kB / 389.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.2458, allocations: 0 / 389.8 MB, free: 6.484 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002071/0.2479, allocations: 1.348 MB / 391.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2479, allocations: 8.781 kB / 391.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2481, allocations: 113.9 kB / 391.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.249, allocations: 0.6485 MB / 391.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.249, allocations: 72.41 kB / 392 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.2492, allocations: 87.56 kB / 392.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.2508, allocations: 0.9751 MB / 393 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.2508, allocations: 1.219 kB / 393 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.2509, allocations: 40.44 kB / 393.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2509, allocations: 21.84 kB / 393.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.2523, allocations: 0.7317 MB / 393.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.2566, allocations: 3.727 MB / 397.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.2579, allocations: 0.8211 MB / 398.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.2588, allocations: 487.7 kB / 398.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.2589, allocations: 11.11 kB / 398.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.2597, allocations: 481.8 kB / 399.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.544e-06/0.2597, allocations: 4 kB / 399.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.004097/0.2638, allocations: 1.654 MB / 401 MB, free: 168 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2639, allocations: 122.5 kB / 401.1 MB, free: 32 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.2647, allocations: 0.6758 MB / 401.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.2648, allocations: 47.14 kB / 401.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.2651, allocations: 372.1 kB / 402.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.2653, allocations: 254.2 kB / 402.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.2655, allocations: 153.1 kB / 402.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2657, allocations: 389.4 kB / 403 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.2663, allocations: 270.8 kB / 403.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.267, allocations: 437.9 kB / 403.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2681, allocations: 0.6823 MB / 404.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2681, allocations: 5.891 kB / 404.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001726/0.2699, allocations: 0.9771 MB / 405.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.2699, allocations: 32.7 kB / 405.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2699, allocations: 4.594 kB / 405.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/0.2708, allocations: 299.2 kB / 405.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.2712, allocations: 105 kB / 405.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.2768, allocations: 5.045 MB / 410.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.2774, allocations: 94.97 kB / 410.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.2774, allocations: 29.47 kB / 410.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000733/0.2782, allocations: 451.6 kB / 411.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006146/0.2788, allocations: 430.2 kB / 411.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009925/0.2798, allocations: 0.6603 MB / 412.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.2798, allocations: 1.219 kB / 412.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001592/0.2814, allocations: 0.9538 MB / 413.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.2814, allocations: 34.33 kB / 413.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2815, allocations: 5.625 kB / 413.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/0.2822, allocations: 287.2 kB / 413.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.2826, allocations: 106.1 kB / 413.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.2879, allocations: 5.043 MB / 418.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.2884, allocations: 70.92 kB / 418.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.2885, allocations: 29.09 kB / 419 MB, free: 2.406 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 (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.0002491/0.2887, allocations: 252.7 kB / 419.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2889, allocations: 84.09 kB / 419.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2891, allocations: 102.9 kB / 419.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2891, allocations: 4.828 kB / 419.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2891, allocations: 0 / 419.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.2894, allocations: 258.6 kB / 419.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.2896, allocations: 20.88 kB / 419.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.29, allocations: 33.72 kB / 419.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.2902, allocations: 64.39 kB / 419.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002457/0.2926, allocations: 1.071 MB / 420.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001897/0.2945, allocations: 1.262 MB / 422.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005323/0.2951, allocations: 331.8 kB / 422.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.2956, allocations: 471 kB / 422.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Backend: time 7.02e-07/0.2956, allocations: 0 / 422.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.2986, allocations: 1.837 MB / 424.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.002619/0.3013, allocations: 2.136 MB / 426.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.0284/0.3297, allocations: 18.4 MB / 445.3 MB, free: 8.594 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_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_RL/HBridge_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches