Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001501/0.001501, allocations: 116.7 kB / 18.5 MB, free: 4.574 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.00131/0.00131, allocations: 193.2 kB / 21.44 MB, free: 1.637 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.391/1.391, allocations: 225.6 MB / 249.8 MB, free: 3.746 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.2101/0.2101, allocations: 44.92 MB / 349.6 MB, free: 1.738 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 68.95 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 64.25 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003796/0.1141, allocations: 1.927 MB / 0.5449 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1157, allocations: 0.9313 MB / 0.5459 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.1158, allocations: 4 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.116, allocations: 35.72 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1163, allocations: 63.62 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1166, allocations: 135.5 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1168, allocations: 135.6 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1169, allocations: 25.7 kB / 0.5462 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.117, allocations: 59.72 kB / 0.5463 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.1171, allocations: 51.7 kB / 0.5463 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1171, allocations: 4 kB / 0.5463 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1172, allocations: 55.91 kB / 0.5464 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1173, allocations: 19.92 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.1174, allocations: 55.61 kB / 0.5465 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.1176, allocations: 143.4 kB / 0.5466 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1176, allocations: 0 / 0.5466 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1176, allocations: 4 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1177, allocations: 4 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007224/0.1184, allocations: 484.1 kB / 0.5471 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1184, allocations: 12.02 kB / 0.5471 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.1185, allocations: 38.75 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1185, allocations: 12.84 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1189, allocations: 228.1 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1189, allocations: 4.375 kB / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1189, allocations: 15.94 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1191, allocations: 108.1 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1192, allocations: 0 / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1192, allocations: 8 kB / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1192, allocations: 0 / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1193, allocations: 51.91 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1199, allocations: 0.501 MB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1202, allocations: 82.61 kB / 0.5481 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1203, allocations: 40.83 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1204, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1205, allocations: 87.31 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1205, allocations: 0 / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004095/0.121, allocations: 149.6 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.121, allocations: 59.41 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1212, allocations: 187.5 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1212, allocations: 25.7 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.1213, allocations: 116 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1213, allocations: 35.77 kB / 0.5488 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1214, allocations: 25.72 kB / 0.5488 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1215, allocations: 330.8 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1216, allocations: 27.98 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1217, allocations: 67.52 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1219, allocations: 96.22 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1219, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002877/0.1222, allocations: 137.4 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1222, allocations: 11.94 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1222, allocations: 0 / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1223, allocations: 11.92 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.1224, allocations: 19.98 kB / 0.5495 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1224, allocations: 8.125 kB / 0.5495 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.1224, allocations: 15.94 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1224, allocations: 4 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001118/0.1226, allocations: 125.8 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1226, allocations: 15.91 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.1226, allocations: 17.39 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1226, allocations: 3.938 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1226, allocations: 4 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1226, allocations: 0 / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1228, allocations: 213.7 kB / 0.5499 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1228, allocations: 0 / 0.5499 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.1229, allocations: 19.92 kB / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1229, allocations: 0 / 0.5499 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1229, allocations: 4 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1229, allocations: 7.938 kB / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1229, allocations: 0 / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.1233, allocations: 180.9 kB / 0.5501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1234, allocations: 93.03 kB / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1234, allocations: 0 / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.1235, allocations: 7.938 kB / 0.5502 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1235, allocations: 11.98 kB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1235, allocations: 3.938 kB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1236, allocations: 141.2 kB / 0.5503 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1236, allocations: 0 / 0.5503 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1239, allocations: 27.94 kB / 0.5503 GB, free: 12.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002023/0.1259, allocations: 1.029 MB / 0.5513 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1261, allocations: 76.03 kB / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1261, allocations: 0 / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.1262, allocations: 35.91 kB / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1265, allocations: 37.83 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1286, allocations: 1.732 MB / 0.5532 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.129, allocations: 0.72 MB / 0.5539 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.593e-05/0.129, allocations: 21.41 kB / 0.5539 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.1291, allocations: 43.42 kB / 0.5539 GB, free: 8.492 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1291, allocations: 0 / 0.5539 GB, free: 8.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1545, allocations: 3.799 MB / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.181, allocations: 18.95 kB / 0.5577 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.10289983684197]