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.001014/0.001014, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.00255, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001065/0.001065, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002529, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.137, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.203e-06/1.203e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.197e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002301/0.002323, allocations: 1.597 MB / 246.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.003865, allocations: 0.9127 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.003915, allocations: 3.938 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.089e-05/0.003986, allocations: 3.938 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.414e-05/0.00405, allocations: 27.78 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.00423, allocations: 55.81 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.004431, allocations: 135.7 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.149e-05/0.004513, allocations: 19.98 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.004949, allocations: 403.2 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.005066, allocations: 55.83 kB / 247.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.005104, allocations: 8 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.005134, allocations: 12 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.005207, allocations: 63.78 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.005273, allocations: 51.73 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.005523, allocations: 247.2 kB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.005536, allocations: 0 / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005537, allocations: 0 / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.005547, allocations: 0 / 248.3 MB, free: 10.64 MB / 250.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.0006464/0.006193, allocations: 0.669 MB / 248.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.006226, allocations: 8.031 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.006295, allocations: 32.91 kB / 249 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.006509, allocations: 216 kB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.00653, allocations: 8.359 kB / 249.2 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.006554, allocations: 8.375 kB / 249.2 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.006837, allocations: 237.6 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006845, allocations: 192 / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.00686, allocations: 384 / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006866, allocations: 7.938 kB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.006968, allocations: 158.8 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.007272, allocations: 212.2 kB / 249.8 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.007413, allocations: 173.3 kB / 250 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.007512, allocations: 155.7 kB / 250.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.007534, allocations: 7.938 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.007739, allocations: 309.2 kB / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.00774, allocations: 0 / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004272/0.008167, allocations: 0.5293 MB / 251 MB, free: 7.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.008242, allocations: 186.1 kB / 251.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.008647, allocations: 363.1 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.008671, allocations: 29.7 kB / 251.5 MB, free: 6.984 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.00871, allocations: 93.11 kB / 251.6 MB, free: 6.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.008745, allocations: 31.77 kB / 251.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.008828, allocations: 73.5 kB / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.008912, allocations: 326.8 kB / 252 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.009015, allocations: 150.8 kB / 252.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.009119, allocations: 164.5 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.009323, allocations: 335.3 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009325, allocations: 4 kB / 252.7 MB, free: 5.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002647/0.00959, allocations: 363.2 kB / 253 MB, free: 5.293 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.009798, allocations: 130.7 kB / 253.2 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009803, allocations: 112 / 253.2 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.009815, allocations: 3.938 kB / 253.2 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.009833, allocations: 0 / 253.2 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.009838, allocations: 4.078 kB / 253.2 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.009939, allocations: 11.98 kB / 253.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.009983, allocations: 40.02 kB / 253.2 MB, free: 5.082 MB / 250.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.0002822/0.01026, allocations: 345.3 kB / 253.6 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.01031, allocations: 35.91 kB / 253.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.0104, allocations: 55.03 kB / 253.7 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0104, allocations: 0 / 253.7 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01041, allocations: 0 / 253.7 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01041, allocations: 3.984 kB / 253.7 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.01091, allocations: 0.6053 MB / 254.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01091, allocations: 0 / 254.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.01092, allocations: 3.984 kB / 254.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.01113, allocations: 139.4 kB / 254.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01113, allocations: 0 / 254.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.01115, allocations: 11.98 kB / 254.4 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01115, allocations: 4.188 kB / 254.4 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01115, allocations: 4 kB / 254.4 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.01148, allocations: 0.497 MB / 254.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.01152, allocations: 12 kB / 254.9 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01163, allocations: 11.98 kB / 254.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.01169, allocations: 23.97 kB / 255 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.01174, allocations: 43.92 kB / 255 MB, free: 3.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01191, allocations: 156.6 kB / 255.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01191, allocations: 0 / 255.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.01214, allocations: 44 kB / 255.2 MB, free: 2.93 MB / 250.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.0001088/0.01225, allocations: 88.42 kB / 255.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.01262, allocations: 0.578 MB / 255.9 MB, free: 2.156 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.01263, allocations: 4 kB / 255.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.01285, allocations: 412.1 kB / 256.3 MB, free: 1.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.01359, allocations: 399.1 kB / 256.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.01462, allocations: 0.7496 MB / 257.4 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.243e-05/0.0147, allocations: 95.27 kB / 257.5 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.01475, allocations: 12.7 kB / 257.5 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.01504, allocations: 159.7 kB / 257.7 MB, free: 156 kB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01504, allocations: 0 / 257.7 MB, free: 156 kB / 250.7 MB Notification: Performance of Templates: time 0.007079/0.02212, allocations: 4.45 MB / 262.1 MB, free: 11.73 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6057631922885776]