Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.00103/0.00103, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.45/1.45, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2581/0.2581, 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.001505/0.001505, allocations: 68.78 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002532/0.1168, allocations: 1.651 MB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.1178, allocations: 0.7827 MB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.1179, allocations: 8 kB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1182, allocations: 55.8 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1184, allocations: 71.67 kB / 444.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1186, allocations: 83.7 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1188, allocations: 95.69 kB / 444.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.1188, allocations: 8 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.1189, allocations: 43.83 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.119, allocations: 47.78 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.119, allocations: 4 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.1191, allocations: 35.97 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1192, allocations: 15.92 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1192, allocations: 31.75 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1194, allocations: 99.64 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1194, allocations: 0 / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1194, allocations: 0 / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1194, allocations: 0 / 445 MB, free: 3.102 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.0004043/0.1198, allocations: 406.9 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1198, allocations: 15.89 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1199, allocations: 12.84 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1201, allocations: 213 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1201, allocations: 4.312 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1201, allocations: 8.125 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1203, allocations: 45.67 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1203, allocations: 3.984 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1203, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1203, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.1204, allocations: 16 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1205, allocations: 181.7 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1207, allocations: 50.56 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.1208, allocations: 24.78 kB / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1208, allocations: 0 / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.1209, allocations: 79.27 kB / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1209, allocations: 0 / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002606/0.1212, allocations: 89.58 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1212, allocations: 55.34 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1214, allocations: 198 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.1214, allocations: 25.7 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1214, allocations: 96.14 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1215, allocations: 19.89 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1215, allocations: 17.72 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.1216, allocations: 322.8 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.1216, allocations: 15.98 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.1217, allocations: 21.72 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.1218, allocations: 41.7 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1218, allocations: 8 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001287/0.1219, allocations: 81.47 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1219, allocations: 5.25 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1219, allocations: 0 / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.122, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.122, allocations: 15.98 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1221, allocations: 3.938 kB / 447 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1221, allocations: 12.16 kB / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1221, allocations: 0 / 447 MB, free: 0.8125 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 6.912e-05/0.1222, allocations: 133.7 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.1222, allocations: 15.91 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.1223, allocations: 12.31 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1223, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1223, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1223, allocations: 3.984 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.1224, allocations: 185.6 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1224, allocations: 0 / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.1224, allocations: 4 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1224, allocations: 4 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1224, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1224, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1225, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1226, allocations: 112.9 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.1226, allocations: 92.86 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1227, allocations: 3.984 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.1227, allocations: 4 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1228, allocations: 4 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1228, allocations: 4 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.1229, allocations: 139.2 kB / 447.7 MB, free: 12 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1229, allocations: 3.938 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1231, allocations: 16.05 kB / 447.8 MB, free: 15.99 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.001023/0.1241, allocations: 416 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1243, allocations: 47.91 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1243, allocations: 4.062 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.1244, allocations: 16 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1247, allocations: 31.91 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1251, allocations: 202.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1254, allocations: 0.6963 MB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.1254, allocations: 16.42 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1255, allocations: 19.42 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.444e-06/0.1255, allocations: 0 / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004104/0.1296, allocations: 1.456 MB / 450.7 MB, free: 13.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches