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.001845/0.001845, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001789/0.001789, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 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.545/1.545, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.623e-06/1.623e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.687e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003219/0.003246, allocations: 1.487 MB / 268.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005368, allocations: 0.8303 MB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.005418, allocations: 0 / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.005529, allocations: 19.8 kB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.005615, allocations: 15.86 kB / 269.7 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.005906, allocations: 59.81 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.006144, allocations: 139.7 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.006241, allocations: 19.98 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.006827, allocations: 415.2 kB / 270.3 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.006963, allocations: 59.75 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.007019, allocations: 12 kB / 270.4 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.007065, allocations: 8 kB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.007168, allocations: 67.72 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.007275, allocations: 55.78 kB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.00774, allocations: 362.8 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007744, allocations: 0 / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007745, allocations: 0 / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.007752, allocations: 4 kB / 270.8 MB, free: 3.18 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.001077/0.008829, allocations: 0.8055 MB / 271.6 MB, free: 2.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.008868, allocations: 8.922 kB / 271.7 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.008979, allocations: 48.7 kB / 271.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.009318, allocations: 214.9 kB / 271.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.009348, allocations: 8.375 kB / 271.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.009377, allocations: 8.375 kB / 271.9 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.009807, allocations: 252 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.009816, allocations: 192 / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.009839, allocations: 4.375 kB / 272.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.009848, allocations: 7.938 kB / 272.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.01009, allocations: 182.8 kB / 272.4 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.0111, allocations: 0.5423 MB / 272.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.01157, allocations: 213.8 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.01182, allocations: 190.5 kB / 273.3 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.01183, allocations: 3.938 kB / 273.3 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.01229, allocations: 339.1 kB / 273.6 MB, free: 92 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.0123, allocations: 0 / 273.6 MB, free: 92 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001219/0.01351, allocations: 0.7283 MB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.01365, allocations: 166.2 kB / 274.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.01472, allocations: 0.7014 MB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.01476, allocations: 33.7 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01488, allocations: 151.8 kB / 275.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.01493, allocations: 35.73 kB / 275.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.01508, allocations: 95.16 kB / 275.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01536, allocations: 0.5001 MB / 276 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.0156, allocations: 174.8 kB / 276.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.01585, allocations: 209.5 kB / 276.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.01627, allocations: 361 kB / 276.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01627, allocations: 4 kB / 276.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007483/0.01702, allocations: 0.5181 MB / 277.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.01714, allocations: 122.8 kB / 277.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01715, allocations: 3.984 kB / 277.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01717, allocations: 4 kB / 277.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.085e-05/0.01719, allocations: 0 / 277.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01719, allocations: 0 / 277.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.01733, allocations: 15.98 kB / 277.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.0174, allocations: 40.11 kB / 277.5 MB, free: 11.9 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.0004254/0.01783, allocations: 405.2 kB / 277.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.01791, allocations: 51.7 kB / 277.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.01802, allocations: 47.09 kB / 278 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01802, allocations: 0 / 278 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01803, allocations: 4 kB / 278 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01803, allocations: 0 / 278 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.0195, allocations: 1.046 MB / 279 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0195, allocations: 0 / 279 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.01951, allocations: 0 / 279 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01951, allocations: 0 / 279 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.01954, allocations: 16 kB / 279 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01955, allocations: 4 kB / 279 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01955, allocations: 0 / 279 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.02047, allocations: 0.7316 MB / 279.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/0.02101, allocations: 181.4 kB / 279.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.02107, allocations: 8 kB / 280 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.0212, allocations: 19.98 kB / 280 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.02133, allocations: 23.97 kB / 280 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.02139, allocations: 40 kB / 280 MB, free: 9.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006439/0.02204, allocations: 458.7 kB / 280.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02204, allocations: 0 / 280.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.02234, allocations: 51.89 kB / 280.5 MB, free: 8.641 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.0001702/0.02251, allocations: 119 kB / 280.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007948/0.0233, allocations: 0.6473 MB / 281.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0233, allocations: 0 / 281.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.02377, allocations: 468 kB / 281.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.02445, allocations: 134 kB / 281.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02575, allocations: 0.7604 MB / 282.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.02602, allocations: 185.7 kB / 282.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.02607, allocations: 12.7 kB / 282.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.02611, allocations: 20.5 kB / 282.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02611, allocations: 0 / 282.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of Templates: time 0.009982/0.03609, allocations: 4.933 MB / 287.8 MB, free: 1.148 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.402787721017376]