Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.002194/0.002194, allocations: 119 kB / 18.5 MB, free: 4.602 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.002182/0.002182, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.569/1.569, allocations: 225.6 MB / 249.8 MB, free: 3.715 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.2204/0.2204, allocations: 44.92 MB / 349.6 MB, free: 1.723 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 66.2 kB / 491.8 MB, free: 30.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 64.25 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003549/0.1157, allocations: 1.93 MB / 0.5449 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1173, allocations: 0.9352 MB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1175, allocations: 4 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1178, allocations: 39.7 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.118, allocations: 59.64 kB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1183, allocations: 123.6 kB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1185, allocations: 143.5 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1186, allocations: 21.72 kB / 0.5462 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.1187, allocations: 55.72 kB / 0.5463 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.1188, allocations: 59.69 kB / 0.5463 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1188, allocations: 8 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.1189, allocations: 47.98 kB / 0.5464 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.119, allocations: 19.92 kB / 0.5464 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.1191, allocations: 55.59 kB / 0.5465 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1193, allocations: 147.3 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1193, allocations: 0 / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1193, allocations: 4 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1193, allocations: 0 / 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.0007237/0.12, allocations: 488.2 kB / 0.5471 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1201, allocations: 12.02 kB / 0.5471 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.1201, allocations: 38.75 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1202, allocations: 12.84 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1205, allocations: 232 kB / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1205, allocations: 384 / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1206, allocations: 15.94 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1208, allocations: 114.6 kB / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1208, allocations: 0 / 0.5475 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1208, allocations: 8 kB / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1208, allocations: 0 / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.121, allocations: 43.97 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1216, allocations: 0.5088 MB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.122, allocations: 82.61 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.122, allocations: 40.81 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1221, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1223, allocations: 87.36 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1223, allocations: 0 / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003994/0.1227, allocations: 145.4 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1227, allocations: 55.41 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1229, allocations: 187.5 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.123, allocations: 29.7 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.1231, allocations: 120 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1231, allocations: 31.78 kB / 0.5488 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1231, allocations: 26.09 kB / 0.5488 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1233, allocations: 330.8 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.1234, allocations: 27.92 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1235, allocations: 71.64 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1237, allocations: 92.16 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1237, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002734/0.1239, allocations: 141.4 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1239, allocations: 11.94 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1239, allocations: 4 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.124, allocations: 7.938 kB / 0.5495 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.1241, allocations: 23.92 kB / 0.5495 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1241, allocations: 4 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.1241, allocations: 15.94 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1242, allocations: 4 kB / 0.5495 GB, free: 13.12 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.0001068/0.1243, allocations: 126 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1243, allocations: 15.91 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.1243, allocations: 17.39 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1243, allocations: 3.938 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1243, allocations: 0 / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1243, allocations: 0 / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1245, allocations: 217.5 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1245, allocations: 0 / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.1246, allocations: 15.98 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1246, allocations: 4 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1246, allocations: 0 / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.1246, allocations: 7.938 kB / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1246, allocations: 0 / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.125, allocations: 181 kB / 0.5501 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1251, allocations: 97.03 kB / 0.5502 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1251, allocations: 0 / 0.5502 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.1251, allocations: 12 kB / 0.5502 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1252, allocations: 7.984 kB / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1252, allocations: 4 kB / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1253, allocations: 141.2 kB / 0.5503 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1253, allocations: 0 / 0.5503 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1256, allocations: 27.94 kB / 0.5503 GB, free: 12.16 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.00201/0.1276, allocations: 1.029 MB / 0.5513 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1278, allocations: 67.91 kB / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1278, allocations: 0 / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1279, allocations: 40.16 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.0002963/0.1282, allocations: 39.91 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.002046/0.1303, allocations: 1.729 MB / 0.5532 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1306, allocations: 0.7161 MB / 0.5539 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.908e-05/0.1307, allocations: 25.41 kB / 0.5539 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.1307, allocations: 39.42 kB / 0.5539 GB, free: 8.492 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1307, allocations: 0 / 0.5539 GB, free: 8.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.1564, allocations: 3.806 MB / 0.5577 GB, free: 4.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.158, allocations: 10.8 kB / 0.5577 GB, free: 4.723 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.30027562379837]