Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 107.8 kB / 17.74 MB, free: 5.207 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.001627/0.001627, allocations: 181.4 kB / 18.67 MB, free: 4.289 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8269/0.8269, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 58.34 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 80.69 MB / 0.6504 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002542/0.1159, allocations: 1.566 MB / 0.6519 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1172, allocations: 0.8846 MB / 0.6527 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.1173, allocations: 0 / 0.6527 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1176, allocations: 59.73 kB / 0.6528 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1179, allocations: 111.6 kB / 0.6529 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1181, allocations: 103.6 kB / 0.653 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1183, allocations: 131.7 kB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1183, allocations: 7.984 kB / 0.6531 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1185, allocations: 63.75 kB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1186, allocations: 59.7 kB / 0.6533 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1186, allocations: 4 kB / 0.6533 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.1187, allocations: 35.98 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1188, allocations: 67.81 kB / 0.6534 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.1189, allocations: 59.53 kB / 0.6534 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1191, allocations: 155.3 kB / 0.6536 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1191, allocations: 0 / 0.6536 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1191, allocations: 0 / 0.6536 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.1191, allocations: 0 / 0.6536 GB, free: 9.812 MB / 0.4983 GB 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.0005291/0.1196, allocations: 490.2 kB / 0.654 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1197, allocations: 15.88 kB / 0.654 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1197, allocations: 20.75 kB / 0.6541 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.1202, allocations: 335.3 kB / 0.6544 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1202, allocations: 4.375 kB / 0.6544 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1202, allocations: 8.125 kB / 0.6544 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1203, allocations: 53.61 kB / 0.6544 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1204, allocations: 3.938 kB / 0.6545 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1204, allocations: 0 / 0.6545 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1204, allocations: 0 / 0.6545 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.1205, allocations: 19.97 kB / 0.6545 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1207, allocations: 213.7 kB / 0.6547 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1208, allocations: 50.62 kB / 0.6547 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.1209, allocations: 24.78 kB / 0.6547 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1209, allocations: 3.984 kB / 0.6548 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.121, allocations: 75.33 kB / 0.6548 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.121, allocations: 0 / 0.6548 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.000265/0.1213, allocations: 105.4 kB / 0.6549 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1214, allocations: 51.41 kB / 0.655 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1216, allocations: 286.6 kB / 0.6552 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1216, allocations: 29.7 kB / 0.6553 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1217, allocations: 128.1 kB / 0.6554 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1217, allocations: 15.81 kB / 0.6554 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1218, allocations: 25.7 kB / 0.6554 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1219, allocations: 334.8 kB / 0.6558 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.122, allocations: 15.94 kB / 0.6558 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.122, allocations: 29.69 kB / 0.6558 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.1221, allocations: 45.7 kB / 0.6558 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1221, allocations: 4 kB / 0.6558 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.1223, allocations: 97.38 kB / 0.6559 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1223, allocations: 4 kB / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1223, allocations: 0 / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1224, allocations: 0 / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.1224, allocations: 12 kB / 0.656 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1224, allocations: 0 / 0.656 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.1225, allocations: 11.83 kB / 0.656 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1225, allocations: 4 kB / 0.656 GB, free: 7.105 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 0.0001051/0.1226, allocations: 150.7 kB / 0.6561 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1227, allocations: 23.75 kB / 0.6561 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1227, allocations: 21.3 kB / 0.6562 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1227, allocations: 0 / 0.6562 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1227, allocations: 4 kB / 0.6562 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1228, allocations: 100.8 kB / 0.6563 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1228, allocations: 0 / 0.6563 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.1229, allocations: 7.984 kB / 0.6563 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.1229, allocations: 0 / 0.6563 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001828/0.1231, allocations: 165.2 kB / 0.6564 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002291/0.1233, allocations: 266.5 kB / 0.6567 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.527e-05/0.1234, allocations: 19.98 kB / 0.6567 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001753/0.1236, allocations: 205.9 kB / 0.6569 GB, free: 6.109 MB / 0.4983 GB Notification: Performance of Backend: time 2.2e-07/0.1236, allocations: 0 / 0.6569 GB, free: 6.109 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.1247, allocations: 413.3 kB / 0.6573 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0007006/0.1254, allocations: 0.7944 MB / 0.6581 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of Templates: time 0.004366/0.1298, allocations: 1.738 MB / 0.6598 GB, free: 3.293 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches