Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2965, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003193/0.2997, allocations: 1.491 MB / 433.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3017, allocations: 0.8381 MB / 434.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.3017, allocations: 0 / 434.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3018, allocations: 11.86 kB / 434.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.3019, allocations: 15.86 kB / 434.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3022, allocations: 63.88 kB / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3024, allocations: 135.7 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.3025, allocations: 11.98 kB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.303, allocations: 391.3 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3031, allocations: 75.61 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.3032, allocations: 12 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.438e-05/0.3032, allocations: 8 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3033, allocations: 63.77 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3035, allocations: 75.36 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3039, allocations: 369.1 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3039, allocations: 8 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3039, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3039, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.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.0008233/0.3047, allocations: 0.6552 MB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3047, allocations: 11.98 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.3048, allocations: 36.7 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.3051, allocations: 220.8 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3051, allocations: 4.375 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3052, allocations: 12.31 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.3056, allocations: 244.7 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3056, allocations: 3.938 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3056, allocations: 4 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3056, allocations: 4 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.3058, allocations: 174.8 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.3065, allocations: 396.2 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3067, allocations: 197.2 kB / 437.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.307, allocations: 175.7 kB / 438 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.307, allocations: 4 kB / 438 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.3075, allocations: 317.5 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3075, allocations: 4 kB / 438.4 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001031/0.3085, allocations: 0.7044 MB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.3087, allocations: 162.2 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.3094, allocations: 0.5168 MB / 439.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3094, allocations: 33.69 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.3095, allocations: 97.14 kB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.3096, allocations: 27.84 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.3097, allocations: 81.52 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3099, allocations: 326.8 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3101, allocations: 174.8 kB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3103, allocations: 204.4 kB / 440.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3107, allocations: 343.3 kB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3107, allocations: 0 / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006761/0.3114, allocations: 0.4952 MB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.3115, allocations: 122.8 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3115, allocations: 4 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3115, allocations: 0 / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/0.3115, allocations: 0 / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3115, allocations: 8.047 kB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3116, allocations: 15.98 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.3117, allocations: 40 kB / 441.7 MB, free: 12.59 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.0003857/0.3121, allocations: 367.1 kB / 442 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3121, allocations: 43.7 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3123, allocations: 63.09 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3123, allocations: 0 / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3123, allocations: 0 / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3123, allocations: 0 / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3134, allocations: 0.8666 MB / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3134, allocations: 0 / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.3134, allocations: 0 / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3134, allocations: 4 kB / 443 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3134, allocations: 11.94 kB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3134, allocations: 4.188 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3134, allocations: 7.984 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.3142, allocations: 0.6452 MB / 443.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.3146, allocations: 209.3 kB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3146, allocations: 12 kB / 443.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3148, allocations: 8 kB / 443.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3149, allocations: 31.95 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.315, allocations: 43.92 kB / 444 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005066/0.3155, allocations: 390.9 kB / 444.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3155, allocations: 0 / 444.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3158, allocations: 51.94 kB / 444.4 MB, free: 9.668 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.0001528/0.3159, allocations: 107 kB / 444.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.3166, allocations: 0.6115 MB / 445.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3166, allocations: 0 / 445.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.317, allocations: 424.4 kB / 445.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.3177, allocations: 125.9 kB / 445.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.319, allocations: 0.8217 MB / 446.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3193, allocations: 193.7 kB / 446.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.3193, allocations: 19.38 kB / 446.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3193, allocations: 0 / 446.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of Templates: time 0.00477/0.3241, allocations: 2.57 MB / 449.3 MB, free: 4.551 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.590784167870879]