Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001303/0.001303, allocations: 117.6 kB / 18.5 MB, free: 4.434 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.001417/0.001417, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.474/1.474, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.2232/0.2232, allocations: 44.92 MB / 349.6 MB, free: 1.707 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 70.31 kB / 491.9 MB, free: 30.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 64.26 MB / 0.5431 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003222/0.1147, allocations: 1.737 MB / 0.5448 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1162, allocations: 0.9002 MB / 0.5457 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.1163, allocations: 3.938 kB / 0.5457 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1166, allocations: 47.75 kB / 0.5457 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1168, allocations: 59.75 kB / 0.5458 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1171, allocations: 111.6 kB / 0.5459 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1173, allocations: 119.7 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.1174, allocations: 4.281 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1175, allocations: 55.78 kB / 0.5461 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.1176, allocations: 55.69 kB / 0.5461 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1176, allocations: 8 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1178, allocations: 59.98 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1178, allocations: 27.91 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1179, allocations: 39.73 kB / 0.5462 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1181, allocations: 151.3 kB / 0.5464 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1181, allocations: 3.938 kB / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1181, allocations: 0 / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1181, allocations: 0 / 0.5464 GB, free: 0.6094 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000575/0.1187, allocations: 430.6 kB / 0.5468 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1187, allocations: 8.031 kB / 0.5468 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1188, allocations: 42.73 kB / 0.5468 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1188, allocations: 16.84 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1191, allocations: 216.8 kB / 0.5471 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1192, allocations: 4.359 kB / 0.5471 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1192, allocations: 11.94 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1194, allocations: 73.59 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1194, allocations: 0 / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1194, allocations: 4 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1194, allocations: 0 / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1195, allocations: 39.97 kB / 0.5472 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1199, allocations: 328.7 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1202, allocations: 82.52 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.1203, allocations: 28.84 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1203, allocations: 4 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1205, allocations: 87.34 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1205, allocations: 0 / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008478/0.1213, allocations: 297.2 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1214, allocations: 55.34 kB / 0.548 GB, free: 14.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1216, allocations: 186.6 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1216, allocations: 29.7 kB / 0.5482 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.1217, allocations: 108.3 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1217, allocations: 43.69 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.1218, allocations: 33.64 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.122, allocations: 326.8 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.122, allocations: 35.98 kB / 0.5488 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1221, allocations: 53.7 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1223, allocations: 93.7 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1223, allocations: 4 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002793/0.1226, allocations: 160.8 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1226, allocations: 4 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1226, allocations: 0 / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1226, allocations: 4 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1227, allocations: 32.7 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1227, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1228, allocations: 8 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1228, allocations: 4 kB / 0.5491 GB, free: 13.56 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 (15): * Single equations (assignments): 15 * 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.0001265/0.1229, allocations: 129.9 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.123, allocations: 15.91 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.123, allocations: 25.52 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.123, allocations: 3.938 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.123, allocations: 0 / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.123, allocations: 3.938 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.1237, allocations: 500 kB / 0.5498 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1237, allocations: 0 / 0.5498 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.1237, allocations: 19.98 kB / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1238, allocations: 0 / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1238, allocations: 8 kB / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1238, allocations: 0 / 0.5498 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1238, allocations: 4 kB / 0.5498 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1241, allocations: 249.1 kB / 0.55 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1242, allocations: 89.02 kB / 0.5501 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1242, allocations: 8 kB / 0.5501 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1243, allocations: 7.984 kB / 0.5501 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1243, allocations: 11.98 kB / 0.5501 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1243, allocations: 8 kB / 0.5502 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1245, allocations: 140.9 kB / 0.5503 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1245, allocations: 4 kB / 0.5503 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1248, allocations: 31.94 kB / 0.5503 GB, free: 12.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.002516/0.1273, allocations: 1.216 MB / 0.5515 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1275, allocations: 87.91 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1275, allocations: 0 / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1276, allocations: 47.92 kB / 0.5516 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.128, allocations: 27.97 kB / 0.5517 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.1303, allocations: 1.831 MB / 0.5535 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1306, allocations: 0.7084 MB / 0.5541 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.528e-05/0.1307, allocations: 29.41 kB / 0.5542 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.1308, allocations: 43.42 kB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1308, allocations: 0 / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.1553, allocations: 4.008 MB / 0.5581 GB, free: 4.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.121, allocations: 15.8 kB / 0.5581 GB, free: 4.309 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.151720826979727]