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.001864/0.001864, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002451/0.002451, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001667/0.001667, allocations: 55.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2693, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002993/0.2723, allocations: 1.494 MB / 433.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2744, allocations: 0.8343 MB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.2745, allocations: 0 / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.2746, allocations: 11.86 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.2747, allocations: 23.84 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2749, allocations: 51.89 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.2752, allocations: 135.7 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.2753, allocations: 19.97 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.2758, allocations: 399.3 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2759, allocations: 63.69 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2759, allocations: 12 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.276, allocations: 8 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.2761, allocations: 63.77 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2762, allocations: 87.28 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.2767, allocations: 365.2 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2767, allocations: 3.938 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2767, allocations: 0 / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2767, allocations: 0 / 435.9 MB, free: 3.137 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.0009765/0.2777, allocations: 0.6552 MB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2777, allocations: 12.03 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.2778, allocations: 40.7 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.2781, allocations: 216.8 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2781, allocations: 4.375 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.2782, allocations: 12.38 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.2786, allocations: 248.7 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2786, allocations: 0 / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.2786, allocations: 4 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2786, allocations: 0 / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.2789, allocations: 174.8 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.2795, allocations: 392.1 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.2798, allocations: 193.3 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.28, allocations: 175.7 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.28, allocations: 4 kB / 438 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.2805, allocations: 328.7 kB / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.2805, allocations: 0 / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.2815, allocations: 0.7004 MB / 439 MB, free: 15.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.2816, allocations: 166.2 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.2823, allocations: 0.5168 MB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.2823, allocations: 37.7 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.2824, allocations: 93.14 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.2824, allocations: 31.78 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2825, allocations: 81.52 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2827, allocations: 330.8 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2829, allocations: 174.8 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.2831, allocations: 192.5 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.2835, allocations: 347.3 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2835, allocations: 0 / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006482/0.2842, allocations: 0.4952 MB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2843, allocations: 122.8 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2843, allocations: 128 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2843, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.2843, allocations: 7.984 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2843, allocations: 80 / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2845, allocations: 19.95 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.2845, allocations: 43.97 kB / 441.6 MB, free: 12.77 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.0003694/0.2849, allocations: 366.2 kB / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.285, allocations: 43.7 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2851, allocations: 71.06 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2851, allocations: 0 / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2851, allocations: 0 / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2851, allocations: 3.984 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2862, allocations: 0.8627 MB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2862, allocations: 0 / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.2862, allocations: 0 / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2862, allocations: 0 / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.2862, allocations: 15.98 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2862, allocations: 0 / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2862, allocations: 0 / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.287, allocations: 0.6597 MB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.2874, allocations: 205.2 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.2875, allocations: 8 kB / 443.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2876, allocations: 11.98 kB / 443.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2877, allocations: 19.98 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.2878, allocations: 51.92 kB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000508/0.2883, allocations: 378.9 kB / 444.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2883, allocations: 4 kB / 444.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.2886, allocations: 43.94 kB / 444.3 MB, free: 9.871 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.0001596/0.2887, allocations: 127.1 kB / 444.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.2895, allocations: 0.6085 MB / 445.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2895, allocations: 0 / 445.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2899, allocations: 416.4 kB / 445.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2905, allocations: 122.4 kB / 445.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2918, allocations: 0.8255 MB / 446.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.292, allocations: 198.4 kB / 446.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.2921, allocations: 19.31 kB / 446.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2921, allocations: 0 / 446.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Templates: time 0.004961/0.297, allocations: 2.565 MB / 449.2 MB, free: 4.734 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/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: 7.5815133401192725]