Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007764/0.0007763, allocations: 90.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2958/0.2958, allocations: 43.57 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001855/0.1108, allocations: 1.398 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1119, allocations: 0.7461 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.1119, allocations: 0 / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1122, allocations: 31.89 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1124, allocations: 43.83 kB / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1126, allocations: 79.84 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1128, allocations: 79.7 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.1129, allocations: 16.22 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.113, allocations: 43.77 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.113, allocations: 23.86 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1131, allocations: 4 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1131, allocations: 31.98 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.1132, allocations: 19.86 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.1133, allocations: 53.5 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1134, allocations: 80.11 kB / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1134, allocations: 0 / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1134, allocations: 0 / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1134, allocations: 4 kB / 493.5 MB, free: 8.211 MB / 378.7 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.0004718/0.1139, allocations: 383.2 kB / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1139, allocations: 12.03 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.114, allocations: 8.844 kB / 493.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1142, allocations: 208.6 kB / 494.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1142, allocations: 7.938 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1142, allocations: 0 / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1144, allocations: 57.61 kB / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1144, allocations: 4 kB / 494.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1144, allocations: 0 / 494.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1144, allocations: 4 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.73e-05/0.1145, allocations: 15.98 kB / 494.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1149, allocations: 280.9 kB / 494.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.115, allocations: 66.61 kB / 494.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1151, allocations: 16.86 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1151, allocations: 0 / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.1153, allocations: 71.3 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1153, allocations: 0 / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.1158, allocations: 173.2 kB / 494.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.1159, allocations: 67.28 kB / 494.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.116, allocations: 158.4 kB / 495 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1161, allocations: 25.7 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1161, allocations: 100.1 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1161, allocations: 23.66 kB / 495.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.1162, allocations: 0 / 495.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.1163, allocations: 326.8 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.1163, allocations: 23.98 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.1164, allocations: 37.7 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1165, allocations: 57.7 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1165, allocations: 0 / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.1167, allocations: 97.53 kB / 495.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1167, allocations: 7.281 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1167, allocations: 0 / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1167, allocations: 3.938 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.1168, allocations: 24.02 kB / 495.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1168, allocations: 0 / 495.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1169, allocations: 11.94 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1169, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.117, allocations: 125.5 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.117, allocations: 11.81 kB / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1171, allocations: 16.66 kB / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1171, allocations: 0 / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1171, allocations: 4 kB / 495.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1171, allocations: 11.92 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.1175, allocations: 391.3 kB / 496.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1175, allocations: 0 / 496.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1175, allocations: 11.98 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1175, allocations: 0 / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1176, allocations: 0 / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1176, allocations: 4 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1176, allocations: 0 / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1178, allocations: 208.4 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1178, allocations: 89 kB / 496.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1179, allocations: 4 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1179, allocations: 4 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.118, allocations: 8.172 kB / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.118, allocations: 4 kB / 496.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.1181, allocations: 131.9 kB / 496.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 0 / 496.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.1183, allocations: 24 kB / 496.7 MB, free: 4.625 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009045/0.1192, allocations: 469.7 kB / 497.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1194, allocations: 63.84 kB / 497.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1194, allocations: 0 / 497.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.1195, allocations: 31.92 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1198, allocations: 23.92 kB / 497.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.1202, allocations: 247.8 kB / 497.5 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1204, allocations: 0.6965 MB / 498.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1205, allocations: 15.44 kB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1205, allocations: 0 / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of Templates: time 0.00312/0.1236, allocations: 1.828 MB / 0.4884 GB, free: 1.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches