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.001634/0.001634, allocations: 108.3 kB / 18.4 MB, free: 4.672 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.00188/0.00188, allocations: 190.1 kB / 19.34 MB, free: 3.742 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.313/1.313, 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.001254/0.001254, allocations: 48.42 kB / 329.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07468/0.07594, allocations: 46.62 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.1546/0.2306, allocations: 5.786 MB / 381.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.2335, allocations: 1.593 MB / 383.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007772/0.2344, allocations: 23 kB / 383.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.2349, allocations: 188.6 kB / 383.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.2356, allocations: 287.2 kB / 383.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.2364, allocations: 413 kB / 384.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2378, allocations: 1.4 MB / 385.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.2384, allocations: 0.5372 MB / 386.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.2388, allocations: 486 kB / 386.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.2393, allocations: 0.5153 MB / 387.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.2395, allocations: 144.3 kB / 387.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2397, allocations: 142.4 kB / 387.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.2399, allocations: 284 kB / 387.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.2403, allocations: 0.584 MB / 388.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2417, allocations: 1.585 MB / 389.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2418, allocations: 8 kB / 389.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2418, allocations: 0.9688 kB / 389.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.2418, allocations: 0 / 389.8 MB, free: 6.738 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.002081/0.2439, allocations: 1.367 MB / 391.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2439, allocations: 13.47 kB / 391.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.2441, allocations: 125.6 kB / 391.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.2451, allocations: 0.659 MB / 392 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.2451, allocations: 67 kB / 392 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.2453, allocations: 99.25 kB / 392.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2468, allocations: 0.9654 MB / 393.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.2468, allocations: 5.125 kB / 393.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.2469, allocations: 38.09 kB / 393.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.2469, allocations: 21.34 kB / 393.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2482, allocations: 0.733 MB / 393.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/0.2524, allocations: 3.728 MB / 397.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.2537, allocations: 0.8161 MB / 398.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.2545, allocations: 495.6 kB / 398.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/0.2546, allocations: 12.91 kB / 398.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007686/0.2554, allocations: 485.7 kB / 399.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.414e-06/0.2554, allocations: 0 / 399.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=84): time 0.003916/0.2593, allocations: 1.657 MB / 401.1 MB, free: 372 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2594, allocations: 119.1 kB / 401.2 MB, free: 244 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.2602, allocations: 0.6778 MB / 401.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.2602, allocations: 47.88 kB / 401.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.2605, allocations: 373.2 kB / 402.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.2607, allocations: 269.9 kB / 402.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.261, allocations: 153.2 kB / 402.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2612, allocations: 390.2 kB / 403.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.2617, allocations: 282 kB / 403.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.2623, allocations: 435.9 kB / 403.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2634, allocations: 0.6852 MB / 404.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2634, allocations: 2.281 kB / 404.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001677/0.2651, allocations: 0.9819 MB / 405.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.2652, allocations: 33.73 kB / 405.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.2652, allocations: 3.625 kB / 405.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008154/0.266, allocations: 295.4 kB / 405.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2664, allocations: 113.7 kB / 405.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.2718, allocations: 5.045 MB / 410.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.2723, allocations: 86.47 kB / 411 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.2724, allocations: 38.44 kB / 411 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007193/0.2731, allocations: 450.7 kB / 411.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005815/0.2737, allocations: 430.6 kB / 411.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009636/0.2747, allocations: 0.6567 MB / 412.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.2747, allocations: 5.469 kB / 412.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.001551/0.2762, allocations: 0.9546 MB / 413.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2763, allocations: 38.47 kB / 413.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2763, allocations: 3 kB / 413.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007069/0.277, allocations: 295 kB / 413.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.2774, allocations: 103.2 kB / 413.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/0.2825, allocations: 5.049 MB / 419 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.283, allocations: 74.47 kB / 419.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.2831, allocations: 35.11 kB / 419.1 MB, free: 2.547 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.2834, allocations: 252.2 kB / 419.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2835, allocations: 87.66 kB / 419.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.2837, allocations: 95.08 kB / 419.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2837, allocations: 9.391 kB / 419.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2837, allocations: 0 / 419.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.2841, allocations: 262.4 kB / 419.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2842, allocations: 20.81 kB / 419.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.2846, allocations: 34.53 kB / 419.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.2848, allocations: 59.02 kB / 419.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002546/0.2874, allocations: 1.077 MB / 421 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001947/0.2893, allocations: 1.263 MB / 422.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005319/0.2899, allocations: 327.8 kB / 422.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.2904, allocations: 471 kB / 423 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Backend: time 1.804e-06/0.2904, allocations: 0 / 423 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.2933, allocations: 1.841 MB / 424.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 0.00268/0.296, allocations: 2.169 MB / 427 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Templates: time 0.02799/0.324, allocations: 18.41 MB / 445.4 MB, free: 8.637 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