Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001659/0.001659, allocations: 121.8 kB / 18.51 MB, free: 4.535 MB / 14.72 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.002104/0.002104, allocations: 215.2 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 83.55 kB / 0.4913 GB, free: 26.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 65.98 MB / 0.5558 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003085/0.1207, allocations: 1.735 MB / 0.5575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1224, allocations: 1.034 MB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.1224, allocations: 0 / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1227, allocations: 47.7 kB / 0.5585 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.123, allocations: 99.53 kB / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1232, allocations: 79.66 kB / 0.5587 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1234, allocations: 99.75 kB / 0.5588 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.1235, allocations: 12.28 kB / 0.5588 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.1236, allocations: 47.77 kB / 0.5588 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.1236, allocations: 35.8 kB / 0.5589 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1237, allocations: 4 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.1238, allocations: 43.98 kB / 0.5589 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.1238, allocations: 27.84 kB / 0.5589 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.1239, allocations: 31.75 kB / 0.559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1241, allocations: 115.5 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1241, allocations: 4 kB / 0.5591 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1241, allocations: 0 / 0.5591 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1241, allocations: 4 kB / 0.5591 GB, free: 5.57 MB / 414.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.0006075/0.1247, allocations: 426.6 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1247, allocations: 8.031 kB / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1248, allocations: 38.75 kB / 0.5595 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1248, allocations: 8.891 kB / 0.5596 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1251, allocations: 216.8 kB / 0.5598 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1251, allocations: 4.375 kB / 0.5598 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1252, allocations: 4.375 kB / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1253, allocations: 61.8 kB / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1253, allocations: 0 / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1253, allocations: 0 / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1254, allocations: 0 / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.1254, allocations: 19.98 kB / 0.5599 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1258, allocations: 288.8 kB / 0.5601 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.126, allocations: 62.66 kB / 0.5602 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1261, allocations: 20.84 kB / 0.5602 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1261, allocations: 0 / 0.5602 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.1262, allocations: 75.33 kB / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1262, allocations: 0 / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.1267, allocations: 173.3 kB / 0.5604 GB, free: 4.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1268, allocations: 59.34 kB / 0.5605 GB, free: 3.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.127, allocations: 198.3 kB / 0.5607 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.127, allocations: 25.7 kB / 0.5607 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.1271, allocations: 96.14 kB / 0.5608 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1271, allocations: 31.77 kB / 0.5608 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1272, allocations: 25.72 kB / 0.5609 GB, free: 3.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1273, allocations: 326.8 kB / 0.5612 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.1274, allocations: 23.98 kB / 0.5612 GB, free: 3.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1275, allocations: 37.7 kB / 0.5612 GB, free: 3.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1276, allocations: 57.64 kB / 0.5613 GB, free: 3.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1276, allocations: 0 / 0.5613 GB, free: 3.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1278, allocations: 101.6 kB / 0.5614 GB, free: 2.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1278, allocations: 4 kB / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1278, allocations: 0 / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1278, allocations: 8.031 kB / 0.5614 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.1279, allocations: 19.92 kB / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1279, allocations: 0 / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.128, allocations: 4 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.128, allocations: 4 kB / 0.5614 GB, free: 2.945 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001188/0.1281, allocations: 131.6 kB / 0.5615 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1281, allocations: 11.91 kB / 0.5616 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1282, allocations: 21.39 kB / 0.5616 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1282, allocations: 4 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1282, allocations: 0 / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1282, allocations: 0 / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1287, allocations: 403.3 kB / 0.562 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1287, allocations: 0 / 0.562 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1287, allocations: 11.98 kB / 0.562 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1287, allocations: 0 / 0.562 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1287, allocations: 4 kB / 0.562 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1287, allocations: 4.312 kB / 0.562 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1287, allocations: 7.969 kB / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.129, allocations: 196.3 kB / 0.5622 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1291, allocations: 89.02 kB / 0.5623 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1291, allocations: 8 kB / 0.5623 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1292, allocations: 11.92 kB / 0.5623 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1292, allocations: 4 kB / 0.5623 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1292, allocations: 8.125 kB / 0.5623 GB, free: 1.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1293, allocations: 153.5 kB / 0.5624 GB, free: 1.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1293, allocations: 3.938 kB / 0.5624 GB, free: 1.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1296, allocations: 23.98 kB / 0.5625 GB, free: 1.762 MB / 414.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 (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.002166/0.1318, allocations: 1.082 MB / 0.5635 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.132, allocations: 67.78 kB / 0.5636 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.132, allocations: 0 / 0.5636 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.132, allocations: 24.06 kB / 0.5636 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1324, allocations: 33.73 kB / 0.5636 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1344, allocations: 1.67 MB / 0.5653 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1348, allocations: 0.7041 MB / 0.566 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.1348, allocations: 12.88 kB / 0.566 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1349, allocations: 35.42 kB / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1349, allocations: 4 kB / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.1602, allocations: 3.485 MB / 0.5694 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.336, allocations: 12 kB / 0.5694 GB, free: 10.73 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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: 11.417583032045513]