Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001554/0.001554, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001652/0.001652, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 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 1.508/1.508, allocations: 230.3 MB / 255.2 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 358.2 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 80.92 kB / 0.4925 GB, free: 26.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1121, allocations: 66 MB / 0.557 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00327/0.1154, allocations: 1.621 MB / 0.5586 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1166, allocations: 0.5683 MB / 0.5591 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.1167, allocations: 0 / 0.5591 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.1173, allocations: 455.1 kB / 0.5595 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.1178, allocations: 291.3 kB / 0.5598 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.1182, allocations: 179 kB / 0.56 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1185, allocations: 167.6 kB / 0.5602 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1186, allocations: 11.98 kB / 0.5602 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1187, allocations: 107.8 kB / 0.5603 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.119, allocations: 255.4 kB / 0.5605 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1191, allocations: 4 kB / 0.5605 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.1191, allocations: 24 kB / 0.5605 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1193, allocations: 87.67 kB / 0.5606 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.1194, allocations: 99 kB / 0.5607 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1197, allocations: 250.7 kB / 0.561 GB, free: 4.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1197, allocations: 0 / 0.561 GB, free: 4.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1197, allocations: 0 / 0.561 GB, free: 4.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1197, allocations: 0 / 0.561 GB, free: 4.375 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007637/0.1205, allocations: 0.6567 MB / 0.5616 GB, free: 3.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1205, allocations: 12.03 kB / 0.5616 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.1206, allocations: 40.66 kB / 0.5617 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1209, allocations: 304.6 kB / 0.5619 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1209, allocations: 384 / 0.5619 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1209, allocations: 8.375 kB / 0.5619 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.121, allocations: 42.25 kB / 0.562 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.121, allocations: 192 / 0.562 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1211, allocations: 7.938 kB / 0.562 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1211, allocations: 0 / 0.562 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.1212, allocations: 27.91 kB / 0.562 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1217, allocations: 388.8 kB / 0.5624 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.1218, allocations: 34.56 kB / 0.5624 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1218, allocations: 16.91 kB / 0.5624 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1218, allocations: 3.984 kB / 0.5624 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1219, allocations: 34.56 kB / 0.5625 GB, free: 2.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1219, allocations: 0 / 0.5625 GB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000346/0.1222, allocations: 109.3 kB / 0.5626 GB, free: 2.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1223, allocations: 51.41 kB / 0.5626 GB, free: 2.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.1232, allocations: 0.8699 MB / 0.5635 GB, free: 1.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1232, allocations: 25.7 kB / 0.5635 GB, free: 1.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1234, allocations: 216.1 kB / 0.5637 GB, free: 1.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1234, allocations: 11.95 kB / 0.5637 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1235, allocations: 13.83 kB / 0.5637 GB, free: 1.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1236, allocations: 366.8 kB / 0.5641 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1237, allocations: 7.984 kB / 0.5641 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.1237, allocations: 8 kB / 0.5641 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1238, allocations: 40.66 kB / 0.5641 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1238, allocations: 0 / 0.5641 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.124, allocations: 101.5 kB / 0.5642 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.124, allocations: 4 kB / 0.5642 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.124, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.124, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.1241, allocations: 11.92 kB / 0.5643 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1241, allocations: 0 / 0.5643 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.1242, allocations: 11.89 kB / 0.5643 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.1242, allocations: 0 / 0.5643 GB, free: 0.7539 MB / 414.1 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 (2): * Single equations (assignments): 2 * 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 0.0001921/0.1244, allocations: 209.7 kB / 0.5645 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1244, allocations: 51.73 kB / 0.5645 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.1246, allocations: 108.7 kB / 0.5646 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1246, allocations: 0 / 0.5646 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1246, allocations: 0 / 0.5646 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1247, allocations: 0 / 0.5646 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.125, allocations: 289.5 kB / 0.5649 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.125, allocations: 4 kB / 0.5649 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.125, allocations: 7.984 kB / 0.5649 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.125, allocations: 0 / 0.5649 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.125, allocations: 4.031 kB / 0.5649 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.125, allocations: 0 / 0.5649 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.125, allocations: 7.984 kB / 0.5649 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1252, allocations: 191.1 kB / 0.5651 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.1253, allocations: 112.8 kB / 0.5652 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1254, allocations: 4 kB / 0.5652 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1254, allocations: 0 / 0.5652 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1254, allocations: 8.031 kB / 0.5652 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1255, allocations: 0 / 0.5652 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007201/0.1262, allocations: 0.655 MB / 0.5659 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 0.5659 GB, free: 15.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1264, allocations: 16 kB / 0.5659 GB, free: 15.01 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.001262/0.1277, allocations: 353.2 kB / 0.5662 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1278, allocations: 23.98 kB / 0.5662 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1278, allocations: 0 / 0.5662 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.1279, allocations: 15.92 kB / 0.5662 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1283, allocations: 29.05 kB / 0.5663 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1295, allocations: 0.8276 MB / 0.5671 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.1301, allocations: 0.8221 MB / 0.5679 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1301, allocations: 11.44 kB / 0.5679 GB, free: 12.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1301, allocations: 0 / 0.5679 GB, free: 12.98 MB / 430.1 MB Notification: Performance of Templates: time 0.007151/0.1373, allocations: 3.515 MB / 0.5713 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.401549486006843]