Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008921/0.0008921, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9021/0.9021, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 34.23 MB / 294.8 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.46e-05, allocations: 2.281 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.1728/0.1729, allocations: 1.658 MB / 443.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.174, allocations: 0.9575 MB / 444.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.1741, allocations: 0 / 444.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1744, allocations: 92.28 kB / 444.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1746, allocations: 124 kB / 445.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.1748, allocations: 69.73 kB / 445.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1749, allocations: 118 kB / 445.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1749, allocations: 6.531 kB / 445.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.175, allocations: 65.31 kB / 445.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1751, allocations: 56.98 kB / 445.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1751, allocations: 2.688 kB / 445.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.1752, allocations: 24.47 kB / 445.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1752, allocations: 25.8 kB / 445.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1753, allocations: 18.72 kB / 445.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1754, allocations: 112.6 kB / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1754, allocations: 0 / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1754, allocations: 3.062 kB / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1754, allocations: 0 / 445.6 MB, free: 42.38 MB / 410.7 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.0003729/0.1758, allocations: 346.4 kB / 445.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1758, allocations: 8.594 kB / 445.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.1759, allocations: 37.66 kB / 445.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.1759, allocations: 12.25 kB / 446 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1761, allocations: 156.1 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1761, allocations: 384 / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.1761, allocations: 3.156 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1762, allocations: 50.06 kB / 446.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1763, allocations: 192 / 446.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1763, allocations: 8.062 kB / 446.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1763, allocations: 4 kB / 446.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.1763, allocations: 24.11 kB / 446.2 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1764, allocations: 156.9 kB / 446.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1765, allocations: 48.56 kB / 446.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.1766, allocations: 16.3 kB / 446.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1766, allocations: 1.594 kB / 446.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.1767, allocations: 73.55 kB / 446.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1767, allocations: 0 / 446.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002009/0.1769, allocations: 108.5 kB / 446.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1769, allocations: 51.41 kB / 446.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1771, allocations: 225.1 kB / 446.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.1771, allocations: 29.27 kB / 446.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.1771, allocations: 104.7 kB / 447 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1771, allocations: 17.98 kB / 447 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1772, allocations: 18.59 kB / 447 MB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.1772, allocations: 330.7 kB / 447.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.1772, allocations: 16 kB / 447.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.1773, allocations: 37.08 kB / 447.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.1773, allocations: 45.19 kB / 447.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1773, allocations: 0 / 447.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.262e-05/0.1774, allocations: 84.8 kB / 447.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1774, allocations: 5.219 kB / 447.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1774, allocations: 7.438 kB / 447.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1774, allocations: 3.234 kB / 447.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.1775, allocations: 7.969 kB / 447.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1775, allocations: 2.75 kB / 447.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.1775, allocations: 6.938 kB / 447.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1775, allocations: 5.781 kB / 447.6 MB, free: 40.84 MB / 410.7 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 5.834e-05/0.1776, allocations: 128.2 kB / 447.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1776, allocations: 16.83 kB / 447.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1777, allocations: 103.3 kB / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1777, allocations: 3.625 kB / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1777, allocations: 0 / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1777, allocations: 0 / 447.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.492e-05/0.1778, allocations: 154.7 kB / 448 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1778, allocations: 2.844 kB / 448 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.1778, allocations: 10.91 kB / 448 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1778, allocations: 6 kB / 448 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1778, allocations: 6.844 kB / 448 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1778, allocations: 0 / 448 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1778, allocations: 2.812 kB / 448 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.1779, allocations: 120.9 kB / 448.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.1779, allocations: 6.828 kB / 448.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1779, allocations: 7.188 kB / 448.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.1779, allocations: 9.141 kB / 448.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.178, allocations: 2.562 kB / 448.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.178, allocations: 6.562 kB / 448.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.915e-05/0.178, allocations: 176.7 kB / 448.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.178, allocations: 0 / 448.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.1782, allocations: 17.33 kB / 448.3 MB, free: 40.34 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007981/0.179, allocations: 0.977 MB / 449.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1791, allocations: 43.8 kB / 449.4 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1791, allocations: 0 / 449.4 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.1791, allocations: 25.39 kB / 449.4 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1793, allocations: 28.73 kB / 449.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.1802, allocations: 1.578 MB / 451 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.1802, allocations: 103.5 kB / 451.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1803, allocations: 16.42 kB / 451.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.1804, allocations: 36.27 kB / 451.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1804, allocations: 4 kB / 451.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.1972, allocations: 4.082 MB / 455.2 MB, free: 37.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.782, allocations: 3.938 kB / 455.2 MB, free: 37.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.754432349465787]