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.0013/0.0013, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001474/0.001474, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001556/0.001556, allocations: 55.48 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09393, allocations: 53.34 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002699/0.09663, allocations: 1.496 MB / 380.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09857, allocations: 0.8265 MB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.09861, allocations: 0 / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.763e-05/0.0987, allocations: 11.86 kB / 381.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.09879, allocations: 19.8 kB / 381.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.09905, allocations: 63.88 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.09926, allocations: 131.8 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.09934, allocations: 15.97 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.09981, allocations: 403.2 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.09995, allocations: 63.7 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1, allocations: 12 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.1, allocations: 8 kB / 381.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.1001, allocations: 67.7 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1002, allocations: 83.3 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.1007, allocations: 366.4 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1007, allocations: 4 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1007, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1007, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 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.0007809/0.1015, allocations: 0.6552 MB / 383.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1016, allocations: 8.031 kB / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1016, allocations: 44.69 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1019, allocations: 216.8 kB / 383.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1019, allocations: 4.375 kB / 383.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.102, allocations: 12.31 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1023, allocations: 248.7 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1024, allocations: 0 / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1024, allocations: 12 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1024, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.1026, allocations: 182.8 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.1032, allocations: 392.2 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1035, allocations: 193.3 kB / 384.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1037, allocations: 179.7 kB / 384.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1037, allocations: 0 / 384.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.1042, allocations: 320.7 kB / 384.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1042, allocations: 3.938 kB / 384.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009906/0.1052, allocations: 0.7087 MB / 385.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.1053, allocations: 170.3 kB / 385.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.106, allocations: 0.5207 MB / 386.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.106, allocations: 29.7 kB / 386.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.1061, allocations: 101.1 kB / 386.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1061, allocations: 35.72 kB / 386.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1062, allocations: 85.5 kB / 386.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1064, allocations: 326.8 kB / 386.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1066, allocations: 170.8 kB / 387 MB, free: 7.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1068, allocations: 192.5 kB / 387.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1072, allocations: 355.3 kB / 387.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1072, allocations: 0 / 387.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006418/0.1078, allocations: 0.4952 MB / 388 MB, free: 5.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1079, allocations: 133.3 kB / 388.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1079, allocations: 0 / 388.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1079, allocations: 0 / 388.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.1079, allocations: 4 kB / 388.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1079, allocations: 0 / 388.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1081, allocations: 15.94 kB / 388.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.1081, allocations: 47.97 kB / 388.2 MB, free: 5.668 MB / 350.1 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.0003813/0.1085, allocations: 363.1 kB / 388.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.1086, allocations: 39.77 kB / 388.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1087, allocations: 71.08 kB / 388.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1087, allocations: 0 / 388.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1087, allocations: 0 / 388.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1087, allocations: 3.984 kB / 388.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1098, allocations: 0.8589 MB / 389.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1098, allocations: 0 / 389.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-06/0.1098, allocations: 0 / 389.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1098, allocations: 8 kB / 389.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1098, allocations: 11.98 kB / 389.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1098, allocations: 4.125 kB / 389.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1098, allocations: 7.938 kB / 389.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.1106, allocations: 0.6608 MB / 390.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.111, allocations: 201.4 kB / 390.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.1111, allocations: 8 kB / 390.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1112, allocations: 15.98 kB / 390.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1113, allocations: 19.98 kB / 390.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.1114, allocations: 47.92 kB / 390.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00049/0.1119, allocations: 386.9 kB / 390.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 4 kB / 390.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1122, allocations: 51.94 kB / 391 MB, free: 2.738 MB / 350.1 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.0001316/0.1123, allocations: 119 kB / 391.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.1129, allocations: 0.6121 MB / 391.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.113, allocations: 0 / 391.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.1133, allocations: 428.4 kB / 392.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.114, allocations: 116.4 kB / 392.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1152, allocations: 0.7849 MB / 393 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1155, allocations: 194.3 kB / 393.2 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.1155, allocations: 12.7 kB / 393.2 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1156, allocations: 12.5 kB / 393.2 MB, free: 236 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1156, allocations: 0 / 393.2 MB, free: 236 kB / 350.1 MB Notification: Performance of Templates: time 0.008693/0.1242, allocations: 4.96 MB / 398.2 MB, free: 11.29 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.306842314079404]