Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 44.91 MB / 349.6 MB, free: 1.715 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 69.45 kB / 491.9 MB, free: 30.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 64.26 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003161/0.116, allocations: 1.682 MB / 0.5447 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1175, allocations: 0.8652 MB / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.1176, allocations: 4 kB / 0.5456 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1179, allocations: 51.75 kB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.1181, allocations: 59.75 kB / 0.5457 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1183, allocations: 103.6 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1185, allocations: 91.7 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1185, allocations: 3.984 kB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1186, allocations: 43.78 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1187, allocations: 27.86 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1187, allocations: 0 / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.461e-05/0.1188, allocations: 31.98 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1189, allocations: 23.92 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.1189, allocations: 47.59 kB / 0.546 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1191, allocations: 127.7 kB / 0.5462 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1191, allocations: 3.938 kB / 0.5462 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1191, allocations: 0 / 0.5462 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1191, allocations: 4 kB / 0.5462 GB, free: 0.8477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005501/0.1197, allocations: 430.6 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1197, allocations: 12.03 kB / 0.5466 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.1198, allocations: 30.75 kB / 0.5466 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1198, allocations: 12.89 kB / 0.5466 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1201, allocations: 220.7 kB / 0.5468 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1201, allocations: 384 / 0.5468 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1201, allocations: 7.938 kB / 0.5468 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1203, allocations: 53.61 kB / 0.5469 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1203, allocations: 0 / 0.5469 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1203, allocations: 0 / 0.5469 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1203, allocations: 0 / 0.5469 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.1204, allocations: 15.98 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1206, allocations: 193.7 kB / 0.5471 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1208, allocations: 58.55 kB / 0.5471 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1208, allocations: 16.8 kB / 0.5472 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1208, allocations: 11.92 kB / 0.5472 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.121, allocations: 63.39 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.121, allocations: 0 / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002848/0.1213, allocations: 97.58 kB / 0.5473 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1213, allocations: 59.34 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1216, allocations: 258.5 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1216, allocations: 25.7 kB / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1217, allocations: 112.1 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1217, allocations: 15.91 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1217, allocations: 17.72 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1219, allocations: 326.8 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.1219, allocations: 12 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.122, allocations: 37.72 kB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/0.1221, allocations: 45.7 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1221, allocations: 3.938 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.1222, allocations: 85.53 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1223, allocations: 5.875 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1223, allocations: 320 / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1223, allocations: 0 / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1223, allocations: 20.03 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1224, allocations: 3.984 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.1224, allocations: 0 / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1224, allocations: 11.92 kB / 0.5483 GB, free: 14.38 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 (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.0001137/0.1225, allocations: 137.8 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1225, allocations: 15.84 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.1226, allocations: 20.98 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1226, allocations: 0 / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1226, allocations: 0 / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1226, allocations: 4 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1228, allocations: 201.5 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1228, allocations: 0 / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.1228, allocations: 4 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1228, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1228, allocations: 4 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1228, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1228, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.123, allocations: 128.8 kB / 0.5488 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.123, allocations: 89.02 kB / 0.5489 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1231, allocations: 4 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.1231, allocations: 3.984 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1231, allocations: 4 kB / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1231, allocations: 0 / 0.5489 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1233, allocations: 204 kB / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1233, allocations: 0 / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1235, allocations: 15.98 kB / 0.5491 GB, free: 13.46 MB / 414.1 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.nextTimeEventScaled,t_new.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.001782/0.1253, allocations: 0.953 MB / 0.5501 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1254, allocations: 43.92 kB / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1254, allocations: 0 / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.1255, allocations: 19.98 kB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1258, allocations: 24.05 kB / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1276, allocations: 1.65 MB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1279, allocations: 0.7156 MB / 0.5524 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.128, allocations: 16.55 kB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.128, allocations: 43.42 kB / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.128, allocations: 0 / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1529, allocations: 3.431 MB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.986, allocations: 4 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.182542263995856]