Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.66 kB / 15.69 MB, free: 480 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.001227/0.001228, allocations: 175.2 kB / 16.57 MB, free: 6.387 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.363/1.363, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3257/0.3257, allocations: 43.55 MB / 314.5 MB, free: 9.027 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.0005308/0.0005309, allocations: 18.97 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00227/0.116, allocations: 1.391 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1173, allocations: 0.7267 MB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1174, allocations: 3.938 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1177, allocations: 31.83 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1179, allocations: 43.88 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1181, allocations: 75.78 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1183, allocations: 59.86 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.1184, allocations: 8.219 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1185, allocations: 35.84 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.68e-05/0.1186, allocations: 31.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1186, allocations: 4 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.1187, allocations: 31.92 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.1187, allocations: 19.92 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1188, allocations: 37.64 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1189, allocations: 80.09 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1189, allocations: 0 / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.119, allocations: 0 / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.119, allocations: 4 kB / 445.3 MB, free: 10.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005074/0.1195, allocations: 402.8 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1195, allocations: 15.97 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1196, allocations: 11.89 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1198, allocations: 206.8 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1198, allocations: 0 / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1199, allocations: 4 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.12, allocations: 57.61 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.12, allocations: 3.984 kB / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.12, allocations: 0 / 446 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.12, allocations: 7.938 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.1201, allocations: 27.98 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1205, allocations: 277 kB / 446.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1206, allocations: 58.62 kB / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1207, allocations: 0 / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1209, allocations: 79.38 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1209, allocations: 0 / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006018/0.1215, allocations: 161.3 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1215, allocations: 55.41 kB / 446.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1217, allocations: 186.1 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1217, allocations: 29.7 kB / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.1218, allocations: 104.1 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.1219, allocations: 23.7 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.1219, allocations: 8 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.122, allocations: 318.8 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.122, allocations: 23.98 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.1221, allocations: 37.64 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.1222, allocations: 20 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1222, allocations: 0 / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.1223, allocations: 109.5 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1224, allocations: 7.953 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1224, allocations: 0 / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1224, allocations: 7.938 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1225, allocations: 12 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1225, allocations: 3.984 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1226, allocations: 4 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1226, allocations: 0 / 447.5 MB, free: 8.254 MB / 382.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 ($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 8.963e-05/0.1227, allocations: 129.8 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1227, allocations: 16.11 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.1228, allocations: 16.67 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1228, allocations: 3.938 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1228, allocations: 4 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1228, allocations: 0 / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.1232, allocations: 399.3 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1233, allocations: 0 / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.1233, allocations: 15.92 kB / 448.1 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1233, allocations: 4.031 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1233, allocations: 4 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1233, allocations: 0 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1233, allocations: 384 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1235, allocations: 210 kB / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.1236, allocations: 92.91 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1236, allocations: 12 kB / 448.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.1237, allocations: 4 kB / 448.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1237, allocations: 7.984 kB / 448.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1238, allocations: 4 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1239, allocations: 148 kB / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.384e-06/0.1239, allocations: 0 / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1241, allocations: 23.94 kB / 448.6 MB, free: 7.074 MB / 382.1 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.0009712/0.1251, allocations: 465 kB / 449.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1253, allocations: 55.95 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1253, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.1254, allocations: 36 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1256, allocations: 27.92 kB / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.126, allocations: 234.4 kB / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1263, allocations: 0.7082 MB / 450.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.1263, allocations: 25.09 kB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1264, allocations: 15.44 kB / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1264, allocations: 0 / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of Templates: time 0.004042/0.1304, allocations: 1.587 MB / 451.8 MB, free: 3.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches