Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001797/0.001797, allocations: 116 kB / 18.5 MB, free: 4.543 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.002075/0.002075, allocations: 189.9 kB / 21.44 MB, free: 1.609 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.493/1.493, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2181/0.2181, allocations: 44.92 MB / 349.6 MB, free: 1.719 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 73.8 kB / 491.9 MB, free: 30.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 64.25 MB / 0.5431 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003043/0.1175, allocations: 1.679 MB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1189, allocations: 0.8729 MB / 0.5456 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.119, allocations: 0 / 0.5456 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1193, allocations: 51.8 kB / 0.5456 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1195, allocations: 71.67 kB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1198, allocations: 99.69 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1199, allocations: 103.7 kB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.12, allocations: 4 kB / 0.5459 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.1201, allocations: 43.72 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1202, allocations: 59.81 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1202, allocations: 0 / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.1203, allocations: 31.98 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1203, allocations: 19.92 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.1204, allocations: 31.8 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1206, allocations: 95.81 kB / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1206, allocations: 0 / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1206, allocations: 3.938 kB / 0.5462 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1206, allocations: 0 / 0.5462 GB, free: 0.8594 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.0005611/0.1211, allocations: 414.8 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1212, allocations: 8.031 kB / 0.5466 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1212, allocations: 30.75 kB / 0.5466 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1212, allocations: 8.891 kB / 0.5466 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1215, allocations: 216.1 kB / 0.5468 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1215, allocations: 384 / 0.5468 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1216, allocations: 7.938 kB / 0.5468 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1217, allocations: 45.67 kB / 0.5469 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1217, allocations: 3.938 kB / 0.5469 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1217, allocations: 4 kB / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1217, allocations: 0 / 0.5469 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.1218, allocations: 15.98 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.122, allocations: 185.7 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1222, allocations: 46.56 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.1222, allocations: 20.84 kB / 0.5471 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1222, allocations: 4 kB / 0.5471 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1224, allocations: 71.33 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1224, allocations: 0 / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.1227, allocations: 97.58 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1228, allocations: 51.41 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1229, allocations: 186.2 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.123, allocations: 37.64 kB / 0.5475 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.123, allocations: 100.1 kB / 0.5476 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1231, allocations: 11.91 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1231, allocations: 21.72 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1232, allocations: 326.8 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.1233, allocations: 19.92 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.1233, allocations: 21.73 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1235, allocations: 49.7 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1235, allocations: 3.938 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/0.1236, allocations: 77.58 kB / 0.5481 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1236, allocations: 7.984 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1237, allocations: 4 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1237, allocations: 0 / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.1237, allocations: 8 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1238, allocations: 0 / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1238, allocations: 8.031 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1238, allocations: 0 / 0.5482 GB, free: 14.54 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.000127/0.1239, allocations: 133.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.124, allocations: 19.84 kB / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.124, allocations: 16.3 kB / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.124, allocations: 0 / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.124, allocations: 0 / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.124, allocations: 0 / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1242, allocations: 189.5 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1242, allocations: 4 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.1242, allocations: 4 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1242, allocations: 0 / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1242, allocations: 4 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1242, allocations: 320 / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1242, allocations: 3.984 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1244, allocations: 113 kB / 0.5486 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.1245, allocations: 85.05 kB / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1245, allocations: 8 kB / 0.5487 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.1245, allocations: 4 kB / 0.5487 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1246, allocations: 3.938 kB / 0.5487 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1246, allocations: 7.984 kB / 0.5487 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1247, allocations: 140.1 kB / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1247, allocations: 0 / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.1249, allocations: 16 kB / 0.5489 GB, free: 13.7 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.001865/0.1268, allocations: 0.9539 MB / 0.5498 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1269, allocations: 43.91 kB / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1269, allocations: 0 / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.127, allocations: 12 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1273, allocations: 31.95 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.129, allocations: 1.481 MB / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1294, allocations: 0.7002 MB / 0.552 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.1294, allocations: 16.53 kB / 0.5521 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1295, allocations: 23.44 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1295, allocations: 3.938 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1554, allocations: 3.106 MB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.176, allocations: 3.938 kB / 0.5551 GB, free: 7.395 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.208543774206191]