Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001719/0.001719, allocations: 118.1 kB / 18.5 MB, free: 4.582 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.001641/0.001641, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.468/1.468, allocations: 225.6 MB / 249.8 MB, free: 3.711 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.2145/0.2145, 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 61.84 kB / 491.8 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 64.27 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003413/0.1122, allocations: 1.93 MB / 0.545 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1138, allocations: 0.9235 MB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1139, allocations: 8 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1142, allocations: 43.69 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1145, allocations: 59.64 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1148, allocations: 127.6 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.115, allocations: 135.6 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1151, allocations: 25.7 kB / 0.5462 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1153, allocations: 59.7 kB / 0.5463 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1154, allocations: 47.66 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1154, allocations: 12 kB / 0.5463 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1155, allocations: 47.98 kB / 0.5464 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1155, allocations: 31.83 kB / 0.5464 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1156, allocations: 51.62 kB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1159, allocations: 143.4 kB / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1159, allocations: 0 / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1159, allocations: 0 / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.1159, allocations: 0 / 0.5466 GB, free: 372 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.0007338/0.1167, allocations: 488.1 kB / 0.5471 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1167, allocations: 16.03 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1167, allocations: 38.73 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1168, allocations: 16.84 kB / 0.5471 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1171, allocations: 220.1 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1171, allocations: 8.375 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1172, allocations: 7.938 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1174, allocations: 120.1 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1174, allocations: 0 / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1174, allocations: 0 / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1175, allocations: 4 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1176, allocations: 47.91 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1182, allocations: 0.5049 MB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1186, allocations: 90.58 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.1187, allocations: 32.84 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1187, allocations: 4 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1189, allocations: 87.36 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1189, allocations: 3.938 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003787/0.1193, allocations: 141.5 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1193, allocations: 55.72 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1195, allocations: 187.5 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1195, allocations: 33.7 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.1196, allocations: 120 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1196, allocations: 31.72 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.1197, allocations: 29.72 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1198, allocations: 318.8 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1199, allocations: 31.97 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.12, allocations: 68.28 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1202, allocations: 92.2 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1202, allocations: 0 / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002691/0.1205, allocations: 145.4 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1205, allocations: 4 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1205, allocations: 7.938 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1205, allocations: 3.938 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1206, allocations: 23.98 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1206, allocations: 0 / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1207, allocations: 11.95 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1207, allocations: 8 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.0001204/0.1208, allocations: 133.9 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1208, allocations: 15.91 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.1209, allocations: 21.39 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1209, allocations: 3.938 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1209, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1209, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1211, allocations: 213.5 kB / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1211, allocations: 0 / 0.5499 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.1212, allocations: 12 kB / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1212, allocations: 4 kB / 0.5499 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1212, allocations: 3.984 kB / 0.5499 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.1212, allocations: 4.031 kB / 0.5499 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1212, allocations: 3.938 kB / 0.5499 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1216, allocations: 176.9 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1216, allocations: 89.05 kB / 0.5501 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.1217, allocations: 8.062 kB / 0.5501 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/0.1217, allocations: 15.92 kB / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1218, allocations: 3.984 kB / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1218, allocations: 4 kB / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1219, allocations: 149.1 kB / 0.5503 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1219, allocations: 0 / 0.5503 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1221, allocations: 27.94 kB / 0.5503 GB, free: 12.14 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.1242, allocations: 1.012 MB / 0.5513 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1244, allocations: 79.89 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1244, allocations: 0 / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1245, allocations: 40.16 kB / 0.5514 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.1248, allocations: 47.8 kB / 0.5515 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.1268, allocations: 1.729 MB / 0.5532 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1272, allocations: 0.7238 MB / 0.5539 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1273, allocations: 21.41 kB / 0.5539 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.1274, allocations: 43.42 kB / 0.5539 GB, free: 8.465 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1274, allocations: 0 / 0.5539 GB, free: 8.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.153, allocations: 3.795 MB / 0.5577 GB, free: 4.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.18, allocations: 10.86 kB / 0.5577 GB, free: 4.707 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.233531056903303]