Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001151/0.001151, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.61 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002872/0.1157, allocations: 1.656 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.117, allocations: 0.8613 MB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.1171, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1174, allocations: 71.72 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1176, allocations: 63.73 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1179, allocations: 103.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1181, allocations: 99.67 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1181, allocations: 4 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.1182, allocations: 43.84 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.1183, allocations: 47.77 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1183, allocations: 4 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-05/0.1184, allocations: 35.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1185, allocations: 15.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1185, allocations: 35.73 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1187, allocations: 95.66 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1187, allocations: 0 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1187, allocations: 3.938 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1187, allocations: 0 / 473.8 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004888/0.1192, allocations: 406 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1193, allocations: 8.031 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1193, allocations: 12.84 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1196, allocations: 208.1 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1196, allocations: 384 / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1196, allocations: 12.12 kB / 474.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1198, allocations: 45.67 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1198, allocations: 4 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1198, allocations: 0 / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1198, allocations: 0 / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.1199, allocations: 19.92 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1201, allocations: 197.5 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1202, allocations: 46.62 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1203, allocations: 24.78 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1203, allocations: 0 / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1204, allocations: 75.27 kB / 474.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1204, allocations: 0 / 474.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002648/0.1207, allocations: 93.58 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1208, allocations: 51.41 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1209, allocations: 190.1 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.121, allocations: 29.7 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.121, allocations: 100.1 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.121, allocations: 7.812 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1211, allocations: 25.72 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1212, allocations: 322.8 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.1213, allocations: 15.98 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.1213, allocations: 29.66 kB / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.1214, allocations: 41.7 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1214, allocations: 0 / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.1216, allocations: 89.47 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1216, allocations: 7.984 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1216, allocations: 0 / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1216, allocations: 0 / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.1217, allocations: 12 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1217, allocations: 0 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.1218, allocations: 0 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1218, allocations: 8 kB / 475.9 MB, free: 8.223 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 (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.764e-05/0.1219, allocations: 132.6 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1219, allocations: 8.219 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.1219, allocations: 16.3 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1219, allocations: 4 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.122, allocations: 7.938 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.122, allocations: 0 / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1221, allocations: 189.5 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1221, allocations: 0 / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.1221, allocations: 4 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1221, allocations: 4 kB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1221, allocations: 0 / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1221, allocations: 4 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1222, allocations: 3.984 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1223, allocations: 101 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1224, allocations: 100.9 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1224, allocations: 4 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.1224, allocations: 7.938 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.1225, allocations: 0 / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1225, allocations: 11.98 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1226, allocations: 135.2 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1226, allocations: 3.938 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1228, allocations: 16 kB / 476.6 MB, free: 7.387 MB / 350.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.000873/0.1237, allocations: 396.2 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1239, allocations: 43.97 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1239, allocations: 0 / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.1239, allocations: 24 kB / 477.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1242, allocations: 31.84 kB / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.1246, allocations: 198.2 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1249, allocations: 0.7002 MB / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.1249, allocations: 12.55 kB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.125, allocations: 19.42 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.125, allocations: 4 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004102/0.1291, allocations: 1.468 MB / 479.5 MB, free: 4.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches