Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0007304/0.0007304, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001766, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00102/0.00102, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.00235, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.118/1.118, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1162/1.235, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3329/0.3329, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02454/0.3574, allocations: 12.54 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.608e-05, allocations: 3.438 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004438/0.004474, allocations: 1.736 MB / 292.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.00639, allocations: 1.352 MB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.006477, allocations: 0 / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.006661, allocations: 26.97 kB / 293.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.007021, allocations: 82.8 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.007535, allocations: 181.9 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.007749, allocations: 83.77 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.007873, allocations: 15.95 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.00798, allocations: 59.83 kB / 294.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.008093, allocations: 27.91 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.00811, allocations: 4 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.00833, allocations: 99.81 kB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.008381, allocations: 19.88 kB / 294.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.008407, allocations: 11.94 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.008643, allocations: 131.6 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.076e-05/0.008664, allocations: 4 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008666, allocations: 0 / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.008684, allocations: 0 / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004794/0.009163, allocations: 332.5 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.009204, allocations: 12.03 kB / 294.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.009241, allocations: 4.938 kB / 294.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.009404, allocations: 129.7 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.009414, allocations: 384 / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.009438, allocations: 8.375 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.009602, allocations: 106.3 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009613, allocations: 192 / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.009623, allocations: 8.125 kB / 295 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.009631, allocations: 4 kB / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.009662, allocations: 7.938 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.009983, allocations: 179 kB / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.01006, allocations: 26.58 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.01008, allocations: 12.94 kB / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.01012, allocations: 0 / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.01015, allocations: 46.44 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.01015, allocations: 0 / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004283/0.01058, allocations: 105.6 kB / 295.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01061, allocations: 51.41 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.0107, allocations: 140.4 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01072, allocations: 25.7 kB / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.01075, allocations: 100 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.01078, allocations: 15.86 kB / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.01081, allocations: 25.7 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.0109, allocations: 322.8 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.01091, allocations: 15.94 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.01095, allocations: 43.42 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.01099, allocations: 35.86 kB / 296.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01099, allocations: 0 / 296.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.158e-05/0.01106, allocations: 57.56 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01107, allocations: 8 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01108, allocations: 4 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.01109, allocations: 0 / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.01117, allocations: 15.98 kB / 296.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01118, allocations: 4 kB / 296.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.0112, allocations: 16.02 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.01121, allocations: 0 / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 6.197e-05/0.01127, allocations: 112.7 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.01129, allocations: 7.938 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.01142, allocations: 74.31 kB / 296.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01142, allocations: 0 / 296.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01142, allocations: 4 kB / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01143, allocations: 0 / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.01167, allocations: 230.7 kB / 296.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01167, allocations: 0 / 296.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.01172, allocations: 23.98 kB / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01173, allocations: 3.953 kB / 296.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01174, allocations: 4 kB / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.01174, allocations: 0 / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01174, allocations: 0 / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01174, allocations: 288 / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.01185, allocations: 155.5 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.01186, allocations: 4 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.0119, allocations: 7.984 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.01193, allocations: 7.922 kB / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.01194, allocations: 15.98 kB / 296.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.01197, allocations: 31.48 kB / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01197, allocations: 0 / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01216, allocations: 43.8 kB / 297 MB, free: 1.684 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.00156/0.01372, allocations: 0.6809 MB / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.01384, allocations: 32.83 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.01385, allocations: 0 / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.01387, allocations: 20.8 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.01407, allocations: 50.56 kB / 297.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.01457, allocations: 196 kB / 298 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01461, allocations: 63.34 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.01467, allocations: 20.69 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.01474, allocations: 67.36 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01474, allocations: 4 kB / 298.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of Templates: time 0.003989/0.01873, allocations: 2.189 MB / 300.3 MB, free: 14.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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: 3.242815623059869]