Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001578/0.001578, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001477/0.001477, allocations: 165.4 kB / 25.6 MB, free: 8.102 MB / 18.57 MB " [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.9869/0.9869, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.979e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002215/0.002235, allocations: 1.518 MB / 253 MB, free: 5.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.00372, allocations: 0.8584 MB / 253.8 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.003775, allocations: 0 / 253.8 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.003845, allocations: 11.86 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.003914, allocations: 23.86 kB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.004137, allocations: 55.86 kB / 253.9 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.0043, allocations: 131.7 kB / 254.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.00437, allocations: 12 kB / 254.1 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.004746, allocations: 431.1 kB / 254.5 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.004838, allocations: 51.83 kB / 254.5 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.004867, allocations: 12 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.004891, allocations: 8 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.004962, allocations: 75.7 kB / 254.6 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.005019, allocations: 47.8 kB / 254.7 MB, free: 4 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.005238, allocations: 271 kB / 255 MB, free: 3.734 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00524, allocations: 4 kB / 255 MB, free: 3.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00524, allocations: 0 / 255 MB, free: 3.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005245, allocations: 0 / 255 MB, free: 3.73 MB / 234.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.000595/0.00584, allocations: 0.7901 MB / 255.7 MB, free: 2.879 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005876, allocations: 11.98 kB / 255.8 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.005933, allocations: 44.7 kB / 255.8 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.006118, allocations: 218.9 kB / 256 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.006134, allocations: 4.375 kB / 256 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.006149, allocations: 8.375 kB / 256 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.006382, allocations: 240.5 kB / 256.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006391, allocations: 4.188 kB / 256.3 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.006406, allocations: 8.359 kB / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006414, allocations: 11.88 kB / 256.3 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.006502, allocations: 150.8 kB / 256.4 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.006908, allocations: 404 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.007031, allocations: 185.8 kB / 257 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.007119, allocations: 162.5 kB / 257.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-06/0.007126, allocations: 3.984 kB / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.007312, allocations: 315 kB / 257.5 MB, free: 0.918 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.007313, allocations: 0 / 257.5 MB, free: 0.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004866/0.0078, allocations: 0.6463 MB / 258.1 MB, free: 196 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.00787, allocations: 166.2 kB / 258.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.008393, allocations: 0.5099 MB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.008425, allocations: 33.7 kB / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.00849, allocations: 143.9 kB / 259 MB, free: 15.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.008519, allocations: 31.7 kB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.008595, allocations: 91.16 kB / 259.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.008711, allocations: 0.4962 MB / 259.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.008807, allocations: 154.8 kB / 259.7 MB, free: 14.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.008905, allocations: 170.1 kB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.00909, allocations: 336.6 kB / 260.2 MB, free: 13.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009092, allocations: 0 / 260.2 MB, free: 13.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000402/0.009494, allocations: 471.1 kB / 260.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.00955, allocations: 122.8 kB / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009554, allocations: 0 / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.009566, allocations: 4.016 kB / 260.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.185e-05/0.009577, allocations: 4 kB / 260.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.009581, allocations: 7.938 kB / 260.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.009663, allocations: 15.95 kB / 260.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.0097, allocations: 44.05 kB / 260.9 MB, free: 13.15 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.0002343/0.009934, allocations: 389.3 kB / 261.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.009977, allocations: 51.7 kB / 261.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.01006, allocations: 55.08 kB / 261.4 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01006, allocations: 3.984 kB / 261.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01007, allocations: 4.125 kB / 261.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01007, allocations: 4 kB / 261.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.01069, allocations: 0.8391 MB / 262.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01069, allocations: 0 / 262.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.0107, allocations: 3.938 kB / 262.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0107, allocations: 0 / 262.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01071, allocations: 19.98 kB / 262.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01072, allocations: 0 / 262.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01072, allocations: 0 / 262.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.01111, allocations: 0.673 MB / 262.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.01132, allocations: 185.3 kB / 263.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01135, allocations: 16 kB / 263.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.01142, allocations: 11.98 kB / 263.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.01148, allocations: 19.98 kB / 263.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.01152, allocations: 47.92 kB / 263.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.01171, allocations: 302.9 kB / 263.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 0 / 263.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01188, allocations: 44 kB / 263.5 MB, free: 10.32 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 8.575e-05/0.01196, allocations: 111 kB / 263.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.01226, allocations: 0.573 MB / 264.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.01226, allocations: 0 / 264.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.01243, allocations: 420 kB / 264.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.01277, allocations: 131 kB / 264.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.01345, allocations: 0.7418 MB / 265.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01351, allocations: 99.25 kB / 265.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.01354, allocations: 8.719 kB / 265.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.01376, allocations: 182.5 kB / 265.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01376, allocations: 0 / 265.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of Templates: time 0.005215/0.01898, allocations: 4.538 MB / 270.3 MB, free: 3.246 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.865380682051182]