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.001295/0.001295, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001384/0.001384, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.873e-06/1.873e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.045e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001794/0.001814, allocations: 1.539 MB / 274.6 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003227, allocations: 0.8536 MB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.003291, allocations: 0 / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003392, allocations: 7.922 kB / 275.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.003465, allocations: 23.84 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.003712, allocations: 51.83 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.003879, allocations: 139.7 kB / 275.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.003998, allocations: 15.92 kB / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.004352, allocations: 423.2 kB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.004448, allocations: 55.83 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.004478, allocations: 12 kB / 276.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.0045, allocations: 8 kB / 276.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.004572, allocations: 67.77 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.004647, allocations: 59.72 kB / 276.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.004886, allocations: 263.1 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004888, allocations: 0 / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004889, allocations: 0 / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004894, allocations: 0 / 276.5 MB, free: 14.34 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.0007208/0.005615, allocations: 0.7862 MB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005649, allocations: 12.03 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.005717, allocations: 48.64 kB / 277.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.005908, allocations: 219 kB / 277.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.005927, allocations: 12.31 kB / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.005944, allocations: 8.375 kB / 277.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.006215, allocations: 241.7 kB / 277.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.006221, allocations: 192 / 277.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.006238, allocations: 8.375 kB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.006246, allocations: 3.938 kB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.00635, allocations: 162.8 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.00686, allocations: 0.4993 MB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.007003, allocations: 193.8 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.007112, allocations: 170.5 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.007121, allocations: 3.938 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.007343, allocations: 323.1 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.007344, allocations: 4 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005565/0.007901, allocations: 0.6727 MB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.007962, allocations: 178.1 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.008498, allocations: 0.6232 MB / 280.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.008519, allocations: 29.7 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.008575, allocations: 147.9 kB / 280.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.008603, allocations: 23.86 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.00868, allocations: 91.16 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.008788, allocations: 0.4923 MB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.008893, allocations: 158.8 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.009016, allocations: 190.1 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.009237, allocations: 341 kB / 282.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.009242, allocations: 4 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003727/0.009614, allocations: 495.1 kB / 282.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.009673, allocations: 126.8 kB / 282.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009678, allocations: 4 kB / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.00969, allocations: 0 / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.009706, allocations: 0 / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.009711, allocations: 0 / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.009808, allocations: 19.94 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.009846, allocations: 36 kB / 282.8 MB, free: 7.426 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.000229/0.01008, allocations: 401.3 kB / 283.2 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.01012, allocations: 51.7 kB / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.01018, allocations: 55.09 kB / 283.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01018, allocations: 0 / 283.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01019, allocations: 3.938 kB / 283.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01019, allocations: 0 / 283.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.01105, allocations: 0.9478 MB / 284.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01105, allocations: 0 / 284.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.01106, allocations: 3.984 kB / 284.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01106, allocations: 4 kB / 284.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01108, allocations: 12 kB / 284.3 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01108, allocations: 0 / 284.3 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01108, allocations: 0 / 284.3 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.01151, allocations: 0.7049 MB / 285 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.01172, allocations: 181.4 kB / 285.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.01176, allocations: 8 kB / 285.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.01183, allocations: 19.98 kB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.01192, allocations: 19.97 kB / 285.2 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.01195, allocations: 51.88 kB / 285.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.0123, allocations: 426.7 kB / 285.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0123, allocations: 4 kB / 285.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.01248, allocations: 44 kB / 285.7 MB, free: 4.328 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 9.648e-05/0.01258, allocations: 119.2 kB / 285.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.01298, allocations: 0.6003 MB / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01298, allocations: 0 / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.01318, allocations: 423.9 kB / 286.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.01355, allocations: 148.8 kB / 287 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.01432, allocations: 0.7525 MB / 287.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.896e-05/0.0144, allocations: 95.27 kB / 287.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.01444, allocations: 8.719 kB / 287.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.01447, allocations: 16.5 kB / 287.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01447, allocations: 0 / 287.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of Templates: time 0.005873/0.02035, allocations: 4.93 MB / 292.8 MB, free: 13.01 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.9843461620621383]