Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.2 kB / 17.04 MB, free: 5.812 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.00144/0.00144, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 72.22 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003084/0.1127, allocations: 1.64 MB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1139, allocations: 0.7867 MB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1141, allocations: 0 / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1145, allocations: 91.75 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.1148, allocations: 71.66 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.1151, allocations: 79.77 kB / 444.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1153, allocations: 107.7 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.1154, allocations: 4 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1155, allocations: 43.78 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1157, allocations: 55.83 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1157, allocations: 0 / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1158, allocations: 35.98 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1159, allocations: 23.91 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.1159, allocations: 35.69 kB / 445 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1161, allocations: 115.6 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1162, allocations: 0 / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1162, allocations: 0 / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1162, allocations: 0 / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005129/0.1167, allocations: 402.9 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1167, allocations: 15.89 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.1168, allocations: 16.75 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.117, allocations: 204.1 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1171, allocations: 4.359 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1171, allocations: 4.125 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1172, allocations: 49.62 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1172, allocations: 3.938 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1173, allocations: 3.984 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1173, allocations: 0 / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.1173, allocations: 16 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1175, allocations: 185.7 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1177, allocations: 50.62 kB / 446 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1177, allocations: 24.78 kB / 446 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1178, allocations: 3.938 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.1179, allocations: 67.38 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.1179, allocations: 0 / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002768/0.1182, allocations: 97.48 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1182, allocations: 55.41 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1184, allocations: 211.6 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1184, allocations: 33.64 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.1185, allocations: 100.1 kB / 446.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1185, allocations: 23.83 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1185, allocations: 17.72 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.1186, allocations: 322.8 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.1187, allocations: 12 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.1187, allocations: 29.7 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.1188, allocations: 45.7 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1188, allocations: 4 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001376/0.119, allocations: 85.38 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.119, allocations: 9.25 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.119, allocations: 0 / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.119, allocations: 0 / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.1191, allocations: 12.3 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1191, allocations: 0 / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.1192, allocations: 8 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1192, allocations: 4 kB / 447.1 MB, free: 0.7305 MB / 318.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 (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 8.976e-05/0.1193, allocations: 145.3 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1193, allocations: 19.8 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1194, allocations: 16.98 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1194, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1194, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1194, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1195, allocations: 189.5 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1195, allocations: 4 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.1195, allocations: 0 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1195, allocations: 4 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1196, allocations: 7.984 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1196, allocations: 160 / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1196, allocations: 0 / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1198, allocations: 112.9 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1198, allocations: 85.02 kB / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1198, allocations: 0 / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.1199, allocations: 4 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1199, allocations: 7.984 kB / 447.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1199, allocations: 4 kB / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1201, allocations: 155.2 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1201, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1204, allocations: 23.91 kB / 447.9 MB, free: 15.88 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009969/0.1214, allocations: 420.6 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1215, allocations: 43.92 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1215, allocations: 8 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.1216, allocations: 19.98 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1219, allocations: 31.91 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1223, allocations: 206.1 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1226, allocations: 0.7078 MB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.1227, allocations: 12.55 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.1227, allocations: 23.38 kB / 449.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1228, allocations: 0 / 449.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Templates: time 0.004648/0.1274, allocations: 1.482 MB / 450.8 MB, free: 12.97 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches