Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [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.001964/0.001964, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.039/1.039, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.513e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002203/0.002228, allocations: 1.541 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.004072, allocations: 0.8574 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.004142, allocations: 0 / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.004251, allocations: 15.86 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.004335, allocations: 15.86 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.004627, allocations: 47.88 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004804, allocations: 143.6 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.004918, allocations: 19.92 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/0.005311, allocations: 411.3 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.005442, allocations: 67.8 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.005481, allocations: 8 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.00551, allocations: 12 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.005597, allocations: 67.66 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.17e-05/0.005679, allocations: 55.78 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.005953, allocations: 267 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005957, allocations: 0 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005958, allocations: 0 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.005964, allocations: 0 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006707/0.006634, allocations: 0.7862 MB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.006673, allocations: 12.03 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.00675, allocations: 48.7 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006967, allocations: 219 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.006991, allocations: 8.375 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.007012, allocations: 8.375 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.007307, allocations: 241.6 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.007315, allocations: 192 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.007334, allocations: 8.375 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.007341, allocations: 7.938 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.007446, allocations: 158.8 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.008016, allocations: 0.4993 MB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.008165, allocations: 189.8 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.008266, allocations: 174.5 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.008275, allocations: 3.938 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.008485, allocations: 327.1 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.008487, allocations: 0 / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006042/0.009091, allocations: 0.6698 MB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.009167, allocations: 174.3 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/0.009745, allocations: 0.631 MB / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.009769, allocations: 33.7 kB / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.009835, allocations: 147.8 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.009863, allocations: 23.84 kB / 280.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.009948, allocations: 87.17 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01007, allocations: 0.4962 MB / 281.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.01018, allocations: 162.8 kB / 281.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.01043, allocations: 186.2 kB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01061, allocations: 348.9 kB / 282.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01062, allocations: 0 / 282.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003357/0.01095, allocations: 486.9 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.01101, allocations: 126.8 kB / 282.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01102, allocations: 0 / 282.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01104, allocations: 3.984 kB / 282.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.996e-05/0.01106, allocations: 3.938 kB / 282.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01106, allocations: 4 kB / 282.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.01115, allocations: 15.94 kB / 282.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.01119, allocations: 44.03 kB / 282.7 MB, free: 7.094 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.01142, allocations: 389.3 kB / 283.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.01146, allocations: 51.7 kB / 283.2 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.01153, allocations: 51.09 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01153, allocations: 0 / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01153, allocations: 4 kB / 283.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01154, allocations: 3.984 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.01226, allocations: 0.9516 MB / 284.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01227, allocations: 0 / 284.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.01227, allocations: 4 kB / 284.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01228, allocations: 4 kB / 284.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01229, allocations: 8 kB / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.0123, allocations: 3.938 kB / 284.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.0123, allocations: 7.984 kB / 284.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.01276, allocations: 0.6964 MB / 284.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.01298, allocations: 185.4 kB / 285.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.01302, allocations: 11.98 kB / 285.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.0131, allocations: 12 kB / 285.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.01321, allocations: 23.97 kB / 285.1 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.01325, allocations: 44.12 kB / 285.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.01361, allocations: 430.7 kB / 285.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01361, allocations: 0 / 285.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01383, allocations: 48 kB / 285.6 MB, free: 4.004 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.01394, allocations: 119 kB / 285.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.01433, allocations: 0.5964 MB / 286.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01434, allocations: 0 / 286.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.01456, allocations: 424 kB / 286.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.01497, allocations: 148.2 kB / 286.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.01575, allocations: 0.7447 MB / 287.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.849e-05/0.01584, allocations: 95.27 kB / 287.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.01589, allocations: 12.7 kB / 287.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.01592, allocations: 16.5 kB / 287.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01592, allocations: 0 / 287.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of Templates: time 0.006593/0.02252, allocations: 4.943 MB / 292.7 MB, free: 12.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.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: 3.2006044830195606]