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.001556/0.001556, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002119/0.002119, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001807/0.001807, allocations: 51.92 kB / 378.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2766, allocations: 53.36 MB / 431.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002751/0.2793, allocations: 1.541 MB / 433.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2814, allocations: 0.8887 MB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.2815, allocations: 7.938 kB / 434.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.729e-05/0.2816, allocations: 11.92 kB / 434.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.2817, allocations: 15.86 kB / 434.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.282, allocations: 59.81 kB / 434.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.2822, allocations: 131.8 kB / 434.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2823, allocations: 15.98 kB / 434.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.283, allocations: 403.2 kB / 434.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2831, allocations: 67.75 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.2831, allocations: 12 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-05/0.2832, allocations: 12 kB / 434.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.966e-05/0.2833, allocations: 67.64 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2834, allocations: 115.2 kB / 435 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.2838, allocations: 359.8 kB / 435.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2838, allocations: 3.938 kB / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2838, allocations: 0 / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2838, allocations: 0 / 435.3 MB, free: 3.262 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.0008281/0.2847, allocations: 0.6475 MB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2847, allocations: 8.031 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.2848, allocations: 40.7 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2851, allocations: 220.8 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2852, allocations: 16.3 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2852, allocations: 8.375 kB / 436.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2855, allocations: 121.9 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2855, allocations: 0 / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2855, allocations: 4 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2855, allocations: 4 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2857, allocations: 63.95 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.2865, allocations: 439.5 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.2867, allocations: 70.55 kB / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2868, allocations: 60.89 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2868, allocations: 3.984 kB / 437 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.2872, allocations: 202.6 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2872, allocations: 4 kB / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008302/0.288, allocations: 468.3 kB / 437.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2882, allocations: 166.2 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.2888, allocations: 0.5091 MB / 438.3 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.2889, allocations: 33.7 kB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.289, allocations: 101.2 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.289, allocations: 35.72 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2891, allocations: 85.5 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2893, allocations: 330.8 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2894, allocations: 55.97 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2896, allocations: 69.69 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.2899, allocations: 342.7 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2899, allocations: 0 / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005629/0.2905, allocations: 372.4 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.2906, allocations: 122.8 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2906, allocations: 8.031 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2906, allocations: 0 / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.2906, allocations: 0 / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2906, allocations: 3.938 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2908, allocations: 19.94 kB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.2908, allocations: 36 kB / 439.9 MB, free: 14.28 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.0003838/0.2912, allocations: 362.2 kB / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.2913, allocations: 35.81 kB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2914, allocations: 71.08 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2914, allocations: 3.984 kB / 440.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2914, allocations: 0 / 440.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2914, allocations: 0 / 440.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.2924, allocations: 0.789 MB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2924, allocations: 0 / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/0.2924, allocations: 3.938 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2924, allocations: 3.938 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2924, allocations: 8.188 kB / 441.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2924, allocations: 7.984 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2924, allocations: 11.94 kB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.2931, allocations: 0.5176 MB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.2935, allocations: 209.2 kB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.2935, allocations: 12 kB / 441.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2936, allocations: 12 kB / 441.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2938, allocations: 27.91 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.2938, allocations: 47.92 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.2943, allocations: 390.9 kB / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2943, allocations: 0 / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.2946, allocations: 40 kB / 442.4 MB, free: 11.61 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.0001433/0.2948, allocations: 115 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.2953, allocations: 369.5 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2953, allocations: 0 / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2956, allocations: 301.6 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.2962, allocations: 137 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2974, allocations: 0.661 MB / 444 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.2979, allocations: 0.8067 MB / 444.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.2979, allocations: 8.656 kB / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.298, allocations: 11.44 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.298, allocations: 0 / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Templates: time 0.008926/0.3069, allocations: 4.557 MB / 449.4 MB, free: 4.504 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.709680733969435]