Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001452/0.001452, allocations: 113.5 kB / 17.06 MB, free: 5.996 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.001633/0.001633, allocations: 198.9 kB / 18 MB, free: 5.078 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.576/1.576, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.419/1.419, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 61.8 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2118, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00365/0.2155, allocations: 1.566 MB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2173, allocations: 0.8807 MB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2175, allocations: 0 / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.2179, allocations: 59.73 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.2185, allocations: 107.6 kB / 0.6522 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2189, allocations: 109.9 kB / 0.6523 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.2192, allocations: 127.7 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/0.2193, allocations: 7.984 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2195, allocations: 71.67 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2196, allocations: 55.78 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.2197, allocations: 4 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2198, allocations: 39.91 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.22, allocations: 71.75 kB / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.2201, allocations: 59.53 kB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.2204, allocations: 151.4 kB / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2204, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2204, allocations: 0 / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2204, allocations: 0 / 0.6529 GB, free: 9.762 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.0007858/0.2212, allocations: 490.2 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2213, allocations: 8.031 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.2214, allocations: 24.75 kB / 0.6534 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.222, allocations: 339.2 kB / 0.6537 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.222, allocations: 8.375 kB / 0.6537 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.222, allocations: 4.125 kB / 0.6537 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2222, allocations: 49.67 kB / 0.6538 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.2222, allocations: 3.938 kB / 0.6538 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2222, allocations: 4 kB / 0.6538 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2222, allocations: 0 / 0.6538 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.2223, allocations: 15.98 kB / 0.6538 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.2227, allocations: 209.7 kB / 0.654 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.2229, allocations: 58.55 kB / 0.6541 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.223, allocations: 24.78 kB / 0.6541 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.223, allocations: 4 kB / 0.6541 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.2232, allocations: 71.38 kB / 0.6542 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.2232, allocations: 0 / 0.6542 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003326/0.2235, allocations: 109.3 kB / 0.6543 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2236, allocations: 51.41 kB / 0.6543 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2239, allocations: 274.7 kB / 0.6546 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2239, allocations: 29.7 kB / 0.6546 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.224, allocations: 136.1 kB / 0.6547 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.2241, allocations: 11.81 kB / 0.6547 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.2241, allocations: 29.7 kB / 0.6548 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2243, allocations: 326.8 kB / 0.6551 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.2243, allocations: 15.98 kB / 0.6551 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.2244, allocations: 29.7 kB / 0.6551 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2246, allocations: 45.91 kB / 0.6552 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2246, allocations: 4 kB / 0.6552 GB, free: 7.199 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001818/0.2248, allocations: 97.42 kB / 0.6553 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2248, allocations: 4 kB / 0.6553 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2248, allocations: 0 / 0.6553 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2249, allocations: 4 kB / 0.6553 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.2249, allocations: 11.94 kB / 0.6553 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.225, allocations: 0 / 0.6553 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.225, allocations: 15.78 kB / 0.6553 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.225, allocations: 3.984 kB / 0.6553 GB, free: 7.059 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.0001491/0.2252, allocations: 150.7 kB / 0.6555 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.2252, allocations: 15.81 kB / 0.6555 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.2253, allocations: 25.3 kB / 0.6555 GB, free: 6.859 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2253, allocations: 0 / 0.6555 GB, free: 6.859 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2253, allocations: 0 / 0.6555 GB, free: 6.859 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2253, allocations: 7.922 kB / 0.6555 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2256, allocations: 213.6 kB / 0.6557 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2256, allocations: 0 / 0.6557 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.2256, allocations: 7.984 kB / 0.6557 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2256, allocations: 0 / 0.6557 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2256, allocations: 4 kB / 0.6557 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2256, allocations: 0 / 0.6557 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2256, allocations: 0 / 0.6557 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2258, allocations: 128.7 kB / 0.6558 GB, free: 6.438 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.2259, allocations: 92.83 kB / 0.6559 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.226, allocations: 12.11 kB / 0.6559 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.226, allocations: 4 kB / 0.6559 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2261, allocations: 8 kB / 0.6559 GB, free: 6.305 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2261, allocations: 0 / 0.6559 GB, free: 6.305 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002044/0.2263, allocations: 205.9 kB / 0.6561 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2263, allocations: 0 / 0.6561 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002413/0.2266, allocations: 23.98 kB / 0.6562 GB, free: 6.082 MB / 0.4983 GB 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0009759/0.2275, allocations: 403.7 kB / 0.6566 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.2277, allocations: 47.86 kB / 0.6566 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2277, allocations: 4.062 kB / 0.6566 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.2278, allocations: 19.98 kB / 0.6566 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2281, allocations: 46.16 kB / 0.6567 GB, free: 5.73 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.2288, allocations: 320 kB / 0.657 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2291, allocations: 0.7397 MB / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.2293, allocations: 41.5 kB / 0.6577 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.2293, allocations: 27.42 kB / 0.6578 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of SimCode: time 2.104e-06/0.2293, allocations: 0 / 0.6578 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of Templates: time 0.005395/0.2347, allocations: 1.76 MB / 0.6595 GB, free: 2.801 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches