Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002191, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006487/0.0006487, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009082/0.001557, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.092/1.092, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09582/1.188, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.344e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001966/0.00198, allocations: 1.566 MB / 241.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.004512, allocations: 0.8824 MB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.004561, allocations: 0 / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.223e-05/0.004634, allocations: 19.86 kB / 242 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.004683, allocations: 15.86 kB / 242 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.004857, allocations: 55.81 kB / 242.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.005051, allocations: 139.7 kB / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/0.005125, allocations: 11.98 kB / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.005488, allocations: 399.3 kB / 242.6 MB, free: 100 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/0.005583, allocations: 55.81 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.005611, allocations: 12 kB / 242.7 MB, free: 32 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.00563, allocations: 8 kB / 242.7 MB, free: 24 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.005699, allocations: 63.78 kB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.005755, allocations: 47.75 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005951, allocations: 263 kB / 243.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.005964, allocations: 4 kB / 243.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005965, allocations: 0 / 243.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.005983, allocations: 0 / 243.1 MB, free: 15.65 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.0005705/0.006553, allocations: 0.669 MB / 243.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.006584, allocations: 8.031 kB / 243.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.006649, allocations: 32.89 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.006835, allocations: 208.1 kB / 244 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.006855, allocations: 12.38 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.00687, allocations: 4.375 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.007128, allocations: 237.6 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007137, allocations: 192 / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.00717, allocations: 8.375 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.007178, allocations: 3.938 kB / 244.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.007265, allocations: 154.8 kB / 244.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.007549, allocations: 220.1 kB / 244.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.007708, allocations: 169.4 kB / 244.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.007788, allocations: 155.7 kB / 244.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-06/0.007794, allocations: 0 / 244.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.007981, allocations: 325.3 kB / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.007982, allocations: 0 / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004166/0.008399, allocations: 0.5215 MB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.00844, allocations: 89.09 kB / 245.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.00871, allocations: 355.2 kB / 246.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.008729, allocations: 33.7 kB / 246.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.008772, allocations: 104.9 kB / 246.3 MB, free: 12.01 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.008797, allocations: 23.84 kB / 246.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.008868, allocations: 77.48 kB / 246.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.008939, allocations: 322.8 kB / 246.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.009023, allocations: 154.8 kB / 246.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.009108, allocations: 168.5 kB / 247.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.00946, allocations: 334.9 kB / 247.4 MB, free: 10.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009462, allocations: 112 / 247.4 MB, free: 10.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001979/0.00966, allocations: 363.4 kB / 247.7 MB, free: 10.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.009728, allocations: 134.7 kB / 247.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.009734, allocations: 3.984 kB / 247.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.009745, allocations: 0 / 247.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.62e-05/0.009771, allocations: 7.969 kB / 247.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.009775, allocations: 4 kB / 247.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.009863, allocations: 11.94 kB / 247.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.009902, allocations: 40.11 kB / 247.9 MB, free: 10.2 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.0002185/0.01012, allocations: 337.3 kB / 248.3 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.01015, allocations: 43.91 kB / 248.3 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/0.01023, allocations: 51.08 kB / 248.4 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01023, allocations: 0 / 248.4 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01023, allocations: 0 / 248.4 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01023, allocations: 0 / 248.4 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.01063, allocations: 0.6134 MB / 249 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01064, allocations: 0 / 249 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.01064, allocations: 0 / 249 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.01081, allocations: 135.4 kB / 249.1 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01082, allocations: 0 / 249.1 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.01083, allocations: 12 kB / 249.1 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01083, allocations: 0 / 249.1 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01084, allocations: 0 / 249.1 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01114, allocations: 0.5009 MB / 249.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.01118, allocations: 8 kB / 249.6 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.01127, allocations: 15.98 kB / 249.6 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.01135, allocations: 19.98 kB / 249.7 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.01139, allocations: 35.98 kB / 249.7 MB, free: 8.258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.01155, allocations: 156.6 kB / 249.9 MB, free: 8.105 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.01155, allocations: 0 / 249.9 MB, free: 8.105 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.01172, allocations: 44 kB / 249.9 MB, free: 8.062 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.0001117/0.01183, allocations: 96.14 kB / 250 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.01253, allocations: 0.578 MB / 250.6 MB, free: 7.281 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.01254, allocations: 4.062 kB / 250.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.0127, allocations: 416.3 kB / 251 MB, free: 6.793 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.013, allocations: 144.4 kB / 251.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.01389, allocations: 0.7458 MB / 251.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.01397, allocations: 103.1 kB / 252 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.088e-05/0.014, allocations: 4.734 kB / 252 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.01422, allocations: 155.3 kB / 252.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01422, allocations: 0 / 252.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of Templates: time 0.005045/0.01926, allocations: 4.464 MB / 256.6 MB, free: 1.137 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6225158851593733]