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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002293/0.002293, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.001699/0.001699, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2852, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002881/0.2881, allocations: 1.491 MB / 433.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2902, allocations: 0.8382 MB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.2902, allocations: 0 / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2904, allocations: 15.86 kB / 433.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.2904, allocations: 11.88 kB / 433.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2907, allocations: 59.86 kB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.291, allocations: 135.7 kB / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2911, allocations: 19.98 kB / 434.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.2916, allocations: 391.3 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.2917, allocations: 75.67 kB / 434.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.2918, allocations: 8 kB / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.2918, allocations: 12 kB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.2919, allocations: 59.77 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.292, allocations: 83.3 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.2924, allocations: 364.8 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2924, allocations: 0 / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2924, allocations: 0 / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2924, allocations: 0 / 435.1 MB, free: 3.145 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.0008765/0.2933, allocations: 0.6591 MB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2933, allocations: 8.031 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2934, allocations: 44.64 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.2937, allocations: 220.8 kB / 436 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.2938, allocations: 4.375 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2938, allocations: 8.375 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2942, allocations: 244.7 kB / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2943, allocations: 0 / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2943, allocations: 8 kB / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2943, allocations: 0 / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.2946, allocations: 178.8 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.2953, allocations: 392.1 kB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2957, allocations: 193.3 kB / 437 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.2959, allocations: 179.7 kB / 437.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2959, allocations: 0 / 437.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.2964, allocations: 323.5 kB / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2964, allocations: 0 / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.2975, allocations: 0.6967 MB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.2976, allocations: 170.2 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.2983, allocations: 0.5246 MB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.2984, allocations: 29.7 kB / 439 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.2985, allocations: 101.1 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.2985, allocations: 27.83 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2986, allocations: 81.52 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2988, allocations: 330.7 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.299, allocations: 174.8 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2992, allocations: 192.5 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.2997, allocations: 347.3 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2997, allocations: 0 / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006363/0.3003, allocations: 0.4952 MB / 440.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.3004, allocations: 126.8 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3004, allocations: 0 / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3004, allocations: 0 / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.302e-05/0.3004, allocations: 4 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3005, allocations: 0 / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3006, allocations: 20.06 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.3007, allocations: 40 kB / 440.9 MB, free: 12.78 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.0003729/0.301, allocations: 358.4 kB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.3011, allocations: 51.72 kB / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3012, allocations: 67.03 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3012, allocations: 0 / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3012, allocations: 4 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3012, allocations: 0 / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3023, allocations: 0.8549 MB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3023, allocations: 3.938 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.3023, allocations: 0 / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3023, allocations: 4 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.3023, allocations: 8 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3023, allocations: 0 / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3023, allocations: 7.984 kB / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.303, allocations: 0.6593 MB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.3035, allocations: 209.3 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.3035, allocations: 12 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3036, allocations: 8 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3038, allocations: 23.97 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.3038, allocations: 47.92 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005444/0.3044, allocations: 386.9 kB / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3044, allocations: 0 / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3047, allocations: 47.94 kB / 443.6 MB, free: 9.867 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.0001701/0.3048, allocations: 115 kB / 443.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.3056, allocations: 0.6086 MB / 444.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3056, allocations: 0 / 444.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.306, allocations: 428.4 kB / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.3066, allocations: 118.5 kB / 444.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3082, allocations: 0.7771 MB / 445.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3086, allocations: 202.4 kB / 445.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.3087, allocations: 12.59 kB / 445.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.3087, allocations: 11.44 kB / 445.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3087, allocations: 0 / 445.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.3188, allocations: 4.995 MB / 450.8 MB, free: 2.398 MB / 350.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/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.801652213558555]