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.0009333/0.0009333, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009858/0.0009858, allocations: 166.4 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9803/0.9803, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.252e-06/1.252e-06, allocations: 0 / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.072e-05, allocations: 2.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001625/0.001636, allocations: 1.542 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002927, allocations: 0.8535 MB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.002971, allocations: 4 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.005e-05/0.003051, allocations: 11.86 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.003126, allocations: 19.86 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003343, allocations: 47.88 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.003494, allocations: 147.6 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.003567, allocations: 19.92 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.003908, allocations: 387.3 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.003998, allocations: 51.83 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.004025, allocations: 12 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.004047, allocations: 8 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.004118, allocations: 71.64 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.004176, allocations: 55.78 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004377, allocations: 267.1 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004378, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004379, allocations: 7.938 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.004382, allocations: 0 / 276.9 MB, free: 13.71 MB / 266.7 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.000489/0.004871, allocations: 0.6187 MB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.004902, allocations: 11.98 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.004954, allocations: 36.89 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.005121, allocations: 208.1 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.005137, allocations: 8.375 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.005157, allocations: 8.375 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.00538, allocations: 233.6 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.005386, allocations: 192 / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.0054, allocations: 8.375 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005404, allocations: 3.938 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.005485, allocations: 150.8 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.005736, allocations: 212.1 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005842, allocations: 173.3 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.005922, allocations: 155.7 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.005927, allocations: 0 / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.006094, allocations: 301.4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.006094, allocations: 4 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003105/0.006405, allocations: 0.5099 MB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.006466, allocations: 170.2 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.00673, allocations: 371.1 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.006752, allocations: 29.7 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.006785, allocations: 93.12 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.006812, allocations: 35.77 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.006877, allocations: 69.5 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.006949, allocations: 326.9 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.007023, allocations: 146.7 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.007109, allocations: 176.5 kB / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.007258, allocations: 319.1 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00726, allocations: 0 / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001983/0.007458, allocations: 351.4 kB / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.007516, allocations: 130.7 kB / 281.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.00752, allocations: 0 / 281.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.00753, allocations: 0 / 281.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.574e-05/0.007545, allocations: 4 kB / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007548, allocations: 7.969 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.007625, allocations: 15.98 kB / 281.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.007661, allocations: 36 kB / 281.7 MB, free: 8.273 MB / 266.7 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.0002196/0.00788, allocations: 345.4 kB / 282 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.007914, allocations: 35.91 kB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.007985, allocations: 51.09 kB / 282.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007988, allocations: 4 kB / 282.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00799, allocations: 0 / 282.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007992, allocations: 0 / 282.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.008376, allocations: 0.6056 MB / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008377, allocations: 0 / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.008381, allocations: 0 / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008384, allocations: 3.938 kB / 282.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.0084, allocations: 15.98 kB / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.008401, allocations: 0 / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008402, allocations: 0 / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.008647, allocations: 489 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.008816, allocations: 151.3 kB / 283.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.008849, allocations: 12 kB / 283.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.008915, allocations: 8 kB / 283.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.008968, allocations: 27.97 kB / 283.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.008998, allocations: 39.88 kB / 283.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.00913, allocations: 156.6 kB / 283.6 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00913, allocations: 0 / 283.6 MB, free: 6.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.009287, allocations: 44 kB / 283.7 MB, free: 6.141 MB / 266.7 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 9.058e-05/0.009378, allocations: 100.3 kB / 283.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.009678, allocations: 0.5507 MB / 284.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.009682, allocations: 4 kB / 284.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.009861, allocations: 416.1 kB / 284.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.01014, allocations: 130.6 kB / 284.8 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.01081, allocations: 0.734 MB / 285.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.01087, allocations: 99.25 kB / 285.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.01091, allocations: 8.719 kB / 285.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.01112, allocations: 159.5 kB / 285.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01112, allocations: 0 / 285.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of Templates: time 0.005109/0.01623, allocations: 4.422 MB / 290.3 MB, free: 15.29 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6653170571662486]