Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.0018/0.0018, allocations: 119 kB / 18.5 MB, free: 4.566 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.002198/0.002198, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.455/1.455, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.2705/0.2705, allocations: 44.93 MB / 349.6 MB, free: 1.75 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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 69.27 kB / 491.9 MB, free: 29.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1116, allocations: 64.25 MB / 0.5431 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003035/0.1147, allocations: 1.674 MB / 0.5447 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1162, allocations: 0.869 MB / 0.5456 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.1163, allocations: 4 kB / 0.5456 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1167, allocations: 83.67 kB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.117, allocations: 71.73 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1173, allocations: 111.6 kB / 0.5458 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1175, allocations: 103.7 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.1175, allocations: 4 kB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1176, allocations: 47.78 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1177, allocations: 55.81 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1178, allocations: 4 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.1179, allocations: 31.98 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1179, allocations: 23.91 kB / 0.5461 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.118, allocations: 31.75 kB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1182, allocations: 111.7 kB / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1182, allocations: 0 / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1182, allocations: 4 kB / 0.5462 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.1182, allocations: 0 / 0.5462 GB, free: 0.8398 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.0006513/0.1189, allocations: 422.7 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1189, allocations: 8.031 kB / 0.5466 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.1189, allocations: 30.75 kB / 0.5467 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.119, allocations: 12.84 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1193, allocations: 204.2 kB / 0.5469 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1193, allocations: 8.375 kB / 0.5469 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1193, allocations: 11.88 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1195, allocations: 53.61 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1195, allocations: 0 / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1195, allocations: 0 / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1195, allocations: 0 / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.1196, allocations: 12.08 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.1198, allocations: 185.7 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1199, allocations: 54.55 kB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.12, allocations: 20.84 kB / 0.5472 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.12, allocations: 0 / 0.5472 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1202, allocations: 79.28 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1202, allocations: 0 / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000279/0.1204, allocations: 93.62 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1205, allocations: 55.41 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1207, allocations: 212.3 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1207, allocations: 25.7 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.1208, allocations: 100.1 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1208, allocations: 23.73 kB / 0.5478 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1208, allocations: 17.72 kB / 0.5478 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.121, allocations: 326.8 kB / 0.5481 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.121, allocations: 15.98 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.1211, allocations: 25.73 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.1212, allocations: 45.7 kB / 0.5482 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1212, allocations: 3.938 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001557/0.1214, allocations: 81.53 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1214, allocations: 8 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1214, allocations: 3.984 kB / 0.5483 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1214, allocations: 4.031 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.1215, allocations: 8 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1215, allocations: 4 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.1215, allocations: 4 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1215, allocations: 4 kB / 0.5483 GB, free: 14.47 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.0001158/0.1216, allocations: 133.6 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1217, allocations: 11.95 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.1217, allocations: 16.98 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1217, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1217, allocations: 7.938 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1217, allocations: 0 / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1219, allocations: 197.5 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1219, allocations: 0 / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.1219, allocations: 7.984 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1219, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1219, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1219, allocations: 320 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1219, allocations: 0 / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1221, allocations: 121 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1222, allocations: 89.02 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1222, allocations: 3.938 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.1222, allocations: 4 kB / 0.5488 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1223, allocations: 3.984 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.1223, allocations: 8 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1225, allocations: 159.5 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1225, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1227, allocations: 12 kB / 0.549 GB, free: 13.61 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.001842/0.1245, allocations: 0.9584 MB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1247, allocations: 43.91 kB / 0.55 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1247, allocations: 0 / 0.55 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.1247, allocations: 16.06 kB / 0.55 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.125, allocations: 31.94 kB / 0.55 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1267, allocations: 1.535 MB / 0.5515 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.127, allocations: 0.7002 MB / 0.5522 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.127, allocations: 16.55 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.1271, allocations: 35.42 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1271, allocations: 0 / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1514, allocations: 3.21 MB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.215, allocations: 0 / 0.5554 GB, free: 7.133 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.280616228003055]