Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 221.1 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.24 MB / 330.3 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.91 kB / 467.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 61.05 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00366/0.1259, allocations: 1.866 MB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1276, allocations: 0.9247 MB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1278, allocations: 0 / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.1283, allocations: 263.2 kB / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.1288, allocations: 187.4 kB / 0.5194 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1292, allocations: 151.6 kB / 0.5195 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.1297, allocations: 247.3 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1298, allocations: 21.66 kB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1301, allocations: 135.5 kB / 0.5199 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.1304, allocations: 195.5 kB / 0.5201 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.1304, allocations: 4 kB / 0.5201 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1305, allocations: 51.97 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1306, allocations: 59.72 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1308, allocations: 91.28 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1311, allocations: 223 kB / 0.5205 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1311, allocations: 0 / 0.5205 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1311, allocations: 3.938 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1311, allocations: 0 / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008383/0.132, allocations: 0.4886 MB / 0.521 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.132, allocations: 8.031 kB / 0.521 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.1321, allocations: 42.73 kB / 0.521 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1321, allocations: 32.75 kB / 0.521 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.1326, allocations: 222.5 kB / 0.5213 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1326, allocations: 8.375 kB / 0.5213 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1326, allocations: 7.938 kB / 0.5213 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.1329, allocations: 95.3 kB / 0.5214 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1329, allocations: 3.984 kB / 0.5214 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1329, allocations: 4 kB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1329, allocations: 0 / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1331, allocations: 43.91 kB / 0.5214 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.1336, allocations: 428 kB / 0.5218 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1339, allocations: 113.3 kB / 0.5219 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.134, allocations: 33.7 kB / 0.522 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1341, allocations: 7.984 kB / 0.522 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.1343, allocations: 117 kB / 0.5221 GB, free: 1.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1343, allocations: 0 / 0.5221 GB, free: 1.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009349/0.1352, allocations: 385.2 kB / 0.5224 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1353, allocations: 88.98 kB / 0.5225 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.1358, allocations: 477.7 kB / 0.523 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1358, allocations: 33.7 kB / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.136, allocations: 164.3 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.136, allocations: 51.62 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.1361, allocations: 37.72 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1363, allocations: 342.8 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1364, allocations: 35.98 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.1365, allocations: 75.47 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1367, allocations: 127.4 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.1367, allocations: 3.984 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003528/0.1371, allocations: 177.4 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1371, allocations: 8 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1371, allocations: 0 / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.1371, allocations: 7.984 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1373, allocations: 43.92 kB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1373, allocations: 0 / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.1374, allocations: 7.938 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1374, allocations: 12 kB / 0.5241 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001727/0.1376, allocations: 169.7 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.1376, allocations: 35.8 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.138, allocations: 212.5 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.138, allocations: 7.938 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.138, allocations: 7.984 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.138, allocations: 0 / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.1388, allocations: 0.596 MB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1388, allocations: 0 / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.1389, allocations: 19.98 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1389, allocations: 4 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1389, allocations: 8.047 kB / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1389, allocations: 4 kB / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1389, allocations: 0 / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1393, allocations: 372.1 kB / 0.5255 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.1394, allocations: 27.81 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.1394, allocations: 4 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1395, allocations: 11.98 kB / 0.5255 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1396, allocations: 11.98 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1396, allocations: 4 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.14, allocations: 363.1 kB / 0.5259 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.14, allocations: 0 / 0.5259 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.1403, allocations: 39.94 kB / 0.5259 GB, free: 12.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002453/0.1428, allocations: 1.273 MB / 0.5271 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.1431, allocations: 119.8 kB / 0.5273 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1431, allocations: 0 / 0.5273 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1433, allocations: 51.92 kB / 0.5273 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1438, allocations: 53.64 kB / 0.5274 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.1473, allocations: 2.737 MB / 0.53 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1477, allocations: 0.7749 MB / 0.5308 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1478, allocations: 34.55 kB / 0.5308 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.148, allocations: 83.41 kB / 0.5309 GB, free: 7.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.148, allocations: 4 kB / 0.5309 GB, free: 7.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.1835, allocations: 6.224 MB / 0.537 GB, free: 1.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.23, allocations: 8.172 kB / 0.537 GB, free: 1.395 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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: 14.516334191896021]