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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002148/0.0002148, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001754/0.0001754, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.04724/0.04724, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,startTime=0,stopTime=0.1,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",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",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,startTime=0,stopTime=0.1,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",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",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.91e-07/5.91e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.137e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.006583/0.006594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002744/0.009338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.009653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.0101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006753/0.01077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009946/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.01304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008563/0.0139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.01433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.01455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000244/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.01514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001067/0.01621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001254/0.01634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.453e-06/0.01634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.145e-06/0.01635, allocations: 0 / 0, free: 0 / 0 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.001466/0.01781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.018e-05/0.01789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.01809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.01881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.01892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.01974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.0198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.01983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.02275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.02332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.02363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.02366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.02403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=82): time 5.981e-06/0.02404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=82): time 0.002641/0.02668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.02707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.02724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.02758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.727e-05/0.02762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.02775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.02794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.02829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.0283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005881/0.02889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.02891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.02892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.02934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.0296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.03169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.03194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.03198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002009/0.03218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001816/0.03236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004725/0.03284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.353e-06/0.03284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.0005938/0.03344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.03346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.03347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.03412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.0363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.03656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.0366, allocations: 0 / 0, free: 0 / 0 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.0002075/0.0368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/0.03689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.03701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.03702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.03702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.03703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.03834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.03835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.03855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.03896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.04108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.04108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.04178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.04219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.04242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.0426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.04264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001498/0.04279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.43e-05/0.0428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001356/0.04416, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.notFire,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0002233/0.04438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001338/0.04572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.04621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.04693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.04892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.0491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002125/0.04931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.04964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.901e-05/0.04967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00242/0.05209, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins/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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7024283008649945]