Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007611/0.0007612, allocations: 94.55 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000839/0.0008389, allocations: 175.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 243 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1832/0.1832, allocations: 44.26 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 16 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 61.93 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001938/0.1069, allocations: 1.417 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1083, allocations: 0.8499 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.1084, allocations: 0 / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1087, allocations: 47.88 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1089, allocations: 59.8 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1092, allocations: 91.77 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1094, allocations: 95.7 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.1095, allocations: 12.22 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.1096, allocations: 43.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.1097, allocations: 35.78 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1097, allocations: 0 / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1098, allocations: 36 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.1099, allocations: 31.89 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.1099, allocations: 65.39 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1101, allocations: 100 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1101, allocations: 0 / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1101, allocations: 0 / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1101, allocations: 4 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005233/0.1107, allocations: 421.1 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1107, allocations: 12.03 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1108, allocations: 8.844 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.111, allocations: 219.9 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.111, allocations: 4.375 kB / 476.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.111, allocations: 4.125 kB / 476.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1112, allocations: 61.67 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1112, allocations: 7.891 kB / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1112, allocations: 0 / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1112, allocations: 0 / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.1113, allocations: 23.92 kB / 476.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.1117, allocations: 292.9 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1119, allocations: 58.67 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1119, allocations: 20.86 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.112, allocations: 0 / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.1122, allocations: 75.31 kB / 477 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1122, allocations: 3.938 kB / 477 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.1127, allocations: 181.1 kB / 477.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1128, allocations: 55.41 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.113, allocations: 262.9 kB / 477.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.113, allocations: 25.7 kB / 477.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1131, allocations: 120 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.1132, allocations: 23.78 kB / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1132, allocations: 13.72 kB / 477.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1133, allocations: 334.8 kB / 478 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.1134, allocations: 16 kB / 478 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.1135, allocations: 37.7 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1136, allocations: 61.64 kB / 478.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1136, allocations: 0 / 478.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1138, allocations: 101.5 kB / 478.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1138, allocations: 8 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1138, allocations: 0 / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1138, allocations: 0 / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.1139, allocations: 23.95 kB / 478.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.114, allocations: 8.141 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.114, allocations: 3.938 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.114, allocations: 4 kB / 478.2 MB, free: 7.773 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001106/0.1141, allocations: 137.8 kB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1142, allocations: 15.8 kB / 478.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1142, allocations: 17.59 kB / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1142, allocations: 7.984 kB / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1142, allocations: 7.938 kB / 478.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1143, allocations: 3.938 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.1147, allocations: 407.2 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1147, allocations: 0 / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.1148, allocations: 11.94 kB / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1148, allocations: 0 / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1148, allocations: 11.92 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1148, allocations: 0 / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1148, allocations: 4.406 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.115, allocations: 196.3 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1151, allocations: 88.92 kB / 479.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1152, allocations: 19.86 kB / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1152, allocations: 8 kB / 479.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1153, allocations: 0 / 479.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1153, allocations: 11.98 kB / 479.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1155, allocations: 200.2 kB / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1155, allocations: 0 / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1158, allocations: 24 kB / 479.4 MB, free: 6.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001055/0.1168, allocations: 462.1 kB / 479.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.117, allocations: 59.97 kB / 479.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.117, allocations: 0 / 479.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.1171, allocations: 31.92 kB / 479.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1175, allocations: 22.95 kB / 480 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.118, allocations: 356.5 kB / 480.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1183, allocations: 0.72 MB / 481 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1184, allocations: 19.42 kB / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1184, allocations: 3.938 kB / 481 MB, free: 4.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003922/0.1223, allocations: 2.021 MB / 483.1 MB, free: 2.965 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches