Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 103 kB / 16.64 MB, free: 6.82 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.001209/0.001209, allocations: 190.5 kB / 17.56 MB, free: 5.941 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.554/1.554, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2162/0.2162, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001628/0.001628, allocations: 71.14 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1102, allocations: 57.78 MB / 440.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003516/0.1137, allocations: 1.715 MB / 442.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1149, allocations: 0.7733 MB / 443.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.115, allocations: 0 / 443.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1153, allocations: 51.81 kB / 443.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1156, allocations: 55.83 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1159, allocations: 79.28 kB / 443.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.116, allocations: 95.69 kB / 443.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1161, allocations: 7.984 kB / 443.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.1162, allocations: 39.86 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.1162, allocations: 43.77 kB / 443.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1163, allocations: 4 kB / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1164, allocations: 35.92 kB / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1164, allocations: 11.98 kB / 443.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.1165, allocations: 31.75 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1166, allocations: 80.11 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1166, allocations: 0 / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1167, allocations: 0 / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1167, allocations: 0 / 443.7 MB, free: 4.332 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.0004744/0.1171, allocations: 394.3 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1172, allocations: 15.89 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1172, allocations: 12.84 kB / 444.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1174, allocations: 206.1 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1174, allocations: 384 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1175, allocations: 8.125 kB / 444.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1176, allocations: 45.67 kB / 444.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1176, allocations: 3.938 kB / 444.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1176, allocations: 0 / 444.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1176, allocations: 4 kB / 444.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.1177, allocations: 19.97 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1179, allocations: 189.5 kB / 444.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.118, allocations: 50.56 kB / 444.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1181, allocations: 24.78 kB / 444.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1181, allocations: 4 kB / 444.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1183, allocations: 67.38 kB / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1184, allocations: 0 / 444.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002613/0.1186, allocations: 97.52 kB / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.1187, allocations: 51.41 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1188, allocations: 174.1 kB / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1188, allocations: 29.7 kB / 445 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1188, allocations: 96.14 kB / 445.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1189, allocations: 11.89 kB / 445.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1189, allocations: 25.66 kB / 445.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.119, allocations: 322.8 kB / 445.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.119, allocations: 12 kB / 445.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.1191, allocations: 29.7 kB / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.1192, allocations: 45.89 kB / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1192, allocations: 0 / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001241/0.1193, allocations: 89.44 kB / 445.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1193, allocations: 9.25 kB / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1193, allocations: 0 / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1194, allocations: 0 / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1194, allocations: 15.92 kB / 445.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1195, allocations: 4 kB / 445.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.1195, allocations: 4 kB / 445.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1195, allocations: 4 kB / 445.7 MB, free: 2.078 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 7.369e-05/0.1196, allocations: 129.7 kB / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1196, allocations: 11.91 kB / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.1197, allocations: 12.31 kB / 445.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1197, allocations: 0 / 445.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1197, allocations: 0 / 445.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1197, allocations: 0 / 445.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.1198, allocations: 193.4 kB / 446 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1198, allocations: 0 / 446 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.1198, allocations: 4 kB / 446 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1198, allocations: 4 kB / 446 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1198, allocations: 0 / 446 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1199, allocations: 4 kB / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1199, allocations: 0 / 446.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.12, allocations: 112.8 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.12, allocations: 85.02 kB / 446.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1201, allocations: 4 kB / 446.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.1201, allocations: 3.984 kB / 446.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1202, allocations: 4 kB / 446.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1202, allocations: 4 kB / 446.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.1203, allocations: 131.2 kB / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1203, allocations: 0 / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1205, allocations: 19.98 kB / 446.4 MB, free: 1.273 MB / 318.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.0009025/0.1214, allocations: 414.3 kB / 446.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1215, allocations: 39.92 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1215, allocations: 3.938 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.1216, allocations: 24.05 kB / 446.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1219, allocations: 27.92 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.1222, allocations: 223.7 kB / 447.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.1224, allocations: 0.704 MB / 447.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1224, allocations: 15.44 kB / 447.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1224, allocations: 0 / 447.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Templates: time 0.00344/0.1259, allocations: 1.66 MB / 449.5 MB, free: 14.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches