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.001011/0.001011, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001286/0.001286, 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.594 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 1.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.116e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.006451/0.006472, allocations: 1.541 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.01129, allocations: 0.8575 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.01134, allocations: 4 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.01145, allocations: 11.92 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.01154, allocations: 23.78 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.01181, allocations: 51.81 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.012, allocations: 135.7 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.0121, allocations: 15.97 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.01257, allocations: 419.2 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.0127, allocations: 59.81 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.01274, allocations: 8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/0.01276, allocations: 16 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.01284, allocations: 63.77 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.01293, allocations: 55.73 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.01322, allocations: 259.1 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01322, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01322, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.01323, allocations: 0 / 276.5 MB, free: 14 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.0007232/0.01395, allocations: 0.7863 MB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01399, allocations: 8.031 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.01407, allocations: 48.7 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.01734, allocations: 226.8 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.01736, allocations: 8.375 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.01739, allocations: 8.375 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.01773, allocations: 245.7 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.01774, allocations: 4.188 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.01776, allocations: 4.359 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.01777, allocations: 7.938 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.0179, allocations: 162.8 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.01858, allocations: 0.4915 MB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.01876, allocations: 193.8 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.0189, allocations: 174.5 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.01891, allocations: 3.938 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.01918, allocations: 319.2 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.01918, allocations: 0 / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007157/0.01989, allocations: 0.6736 MB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.01997, allocations: 174.2 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.02398, allocations: 0.631 MB / 280.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.024, allocations: 29.7 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.02407, allocations: 151.9 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.02411, allocations: 27.83 kB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.02421, allocations: 87.17 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.02434, allocations: 0.4923 MB / 281.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.02448, allocations: 170.8 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.02462, allocations: 181 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.02485, allocations: 344 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02485, allocations: 0 / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.002498/0.02735, allocations: 495 kB / 282.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/0.02742, allocations: 122.9 kB / 282.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02743, allocations: 3.938 kB / 282.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.02744, allocations: 0 / 282.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.141e-05/0.02746, allocations: 0 / 282.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.02747, allocations: 4 kB / 282.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.02758, allocations: 19.94 kB / 282.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.02764, allocations: 40 kB / 282.7 MB, free: 7.078 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.0002807/0.02792, allocations: 393.2 kB / 283.1 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.02798, allocations: 51.7 kB / 283.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.756e-05/0.02807, allocations: 59.11 kB / 283.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.02808, allocations: 4 kB / 283.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02808, allocations: 0 / 283.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02809, allocations: 3.984 kB / 283.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/0.02901, allocations: 0.94 MB / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.02901, allocations: 0 / 284.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-06/0.02902, allocations: 4 kB / 284.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02902, allocations: 0 / 284.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.02904, allocations: 12 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02905, allocations: 3.984 kB / 284.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02905, allocations: 8 kB / 284.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.02962, allocations: 0.7003 MB / 284.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.02992, allocations: 177.4 kB / 285.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.02997, allocations: 12 kB / 285.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.03009, allocations: 12.17 kB / 285.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.03018, allocations: 27.95 kB / 285.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.03023, allocations: 47.94 kB / 285.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004724/0.0307, allocations: 430.7 kB / 285.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0307, allocations: 3.938 kB / 285.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00431/0.03501, allocations: 44 kB / 285.6 MB, free: 3.984 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.0001277/0.03514, allocations: 119 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.03563, allocations: 0.5964 MB / 286.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03563, allocations: 0 / 286.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.03591, allocations: 428 kB / 286.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.03643, allocations: 136.4 kB / 286.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.03769, allocations: 0.7525 MB / 287.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.03779, allocations: 99.2 kB / 287.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.03783, allocations: 8.719 kB / 287.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.03786, allocations: 16.5 kB / 287.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03786, allocations: 0 / 287.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of Templates: time 0.006656/0.04452, allocations: 5.191 MB / 293 MB, free: 12.41 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: 2.761458280030638]