Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009151, allocations: 96.52 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.334/1.334, allocations: 205.4 MB / 222.7 MB, free: 5.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.319/0.319, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 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.0007636/0.0007636, allocations: 12 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.111, allocations: 58.87 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.001818/0.1128, allocations: 1.58 MB / 444.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1139, allocations: 0.7655 MB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.114, allocations: 0 / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1142, allocations: 43.77 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1144, allocations: 43.88 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1147, allocations: 87.77 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1148, allocations: 91.77 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.1149, allocations: 33.45 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.115, allocations: 39.8 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.1151, allocations: 39.77 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1151, allocations: 4 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.1152, allocations: 27.94 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1152, allocations: 23.89 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.1153, allocations: 45.64 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1154, allocations: 112 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.1154, allocations: 0 / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1154, allocations: 0 / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1154, allocations: 0 / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000488/0.1159, allocations: 460.4 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.116, allocations: 8.031 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.116, allocations: 19.8 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1162, allocations: 215.5 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1163, allocations: 8 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1163, allocations: 7.938 kB / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1165, allocations: 112.2 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1165, allocations: 3.984 kB / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1165, allocations: 0 / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1165, allocations: 3.953 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1167, allocations: 59.89 kB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.1172, allocations: 0.5087 MB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1175, allocations: 90.66 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1175, allocations: 4 kB / 447.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.1177, allocations: 87.31 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1177, allocations: 0 / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003258/0.118, allocations: 145.4 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1181, allocations: 55.41 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1182, allocations: 187.5 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1182, allocations: 29.7 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1183, allocations: 112 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1183, allocations: 27.61 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.1183, allocations: 4 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1184, allocations: 326.8 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.1185, allocations: 32.11 kB / 448.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.908e-05/0.1186, allocations: 64.27 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.1187, allocations: 43.92 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1187, allocations: 384 / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002499/0.119, allocations: 149.2 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.119, allocations: 4.125 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.119, allocations: 8 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.119, allocations: 0 / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.1191, allocations: 23.98 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1191, allocations: 4 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.1192, allocations: 7.938 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1192, allocations: 11.94 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.713e-05/0.1193, allocations: 129.8 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1194, allocations: 23.77 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.1194, allocations: 17.34 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1194, allocations: 4 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1194, allocations: 0 / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1194, allocations: 3.984 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1196, allocations: 209.8 kB / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1196, allocations: 0 / 448.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.1197, allocations: 12 kB / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1197, allocations: 3.953 kB / 448.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1197, allocations: 4 kB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1197, allocations: 4 kB / 448.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1197, allocations: 3.938 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.1201, allocations: 188.8 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1201, allocations: 96.86 kB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1201, allocations: 3.953 kB / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1202, allocations: 12.05 kB / 449.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.1202, allocations: 11.98 kB / 449.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1203, allocations: 4 kB / 449.2 MB, free: 6.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.57e-05/0.1204, allocations: 137.2 kB / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1206, allocations: 24.19 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0007791/0.1214, allocations: 424.9 kB / 449.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1216, allocations: 83.83 kB / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1216, allocations: 0 / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1217, allocations: 36.17 kB / 449.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1219, allocations: 36.53 kB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1223, allocations: 293.5 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1226, allocations: 0.724 MB / 450.9 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.363e-05/0.1226, allocations: 21.41 kB / 450.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.1227, allocations: 15.44 kB / 450.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1227, allocations: 0 / 450.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of Templates: time 0.003917/0.1266, allocations: 1.728 MB / 452.7 MB, free: 2.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches