Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.00184/0.00184, 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.002305/0.002305, 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.498/1.498, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.2183/0.2183, allocations: 44.91 MB / 349.6 MB, free: 1.75 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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 61.44 kB / 491.9 MB, free: 29.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1133, allocations: 64.27 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003693/0.117, allocations: 1.898 MB / 0.545 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1188, allocations: 1.001 MB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1189, allocations: 0 / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.1194, allocations: 167.4 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1198, allocations: 135.5 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1203, allocations: 178.8 kB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1206, allocations: 223.4 kB / 0.5466 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1208, allocations: 33.81 kB / 0.5466 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.121, allocations: 111.6 kB / 0.5467 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1212, allocations: 139.5 kB / 0.5469 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1212, allocations: 8 kB / 0.5469 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1213, allocations: 59.98 kB / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.1214, allocations: 51.81 kB / 0.547 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1215, allocations: 75.42 kB / 0.5471 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1218, allocations: 218.9 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1218, allocations: 0 / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1218, allocations: 0 / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1219, allocations: 4 kB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007459/0.1226, allocations: 0.533 MB / 0.5478 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1226, allocations: 8.031 kB / 0.5478 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1227, allocations: 38.75 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.1227, allocations: 24.8 kB / 0.5479 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.1232, allocations: 275.7 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1232, allocations: 4.375 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1232, allocations: 11.94 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1234, allocations: 114 kB / 0.5483 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1235, allocations: 4 kB / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1235, allocations: 0 / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1235, allocations: 3.938 kB / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1236, allocations: 47.95 kB / 0.5483 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.1242, allocations: 468.7 kB / 0.5488 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.1245, allocations: 117.2 kB / 0.5489 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.1246, allocations: 37.83 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1247, allocations: 7.938 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.1249, allocations: 113.1 kB / 0.549 GB, free: 13.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 3.145e-06/0.1249, allocations: 7.922 kB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001308/0.1262, allocations: 0.49 MB / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1263, allocations: 89.03 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.1266, allocations: 354.9 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1267, allocations: 29.7 kB / 0.55 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1268, allocations: 144.5 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.1269, allocations: 75.42 kB / 0.5502 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.1269, allocations: 41.7 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1271, allocations: 342.8 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1272, allocations: 59.98 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1274, allocations: 103.3 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1276, allocations: 155.4 kB / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1276, allocations: 4 kB / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004122/0.1281, allocations: 229.3 kB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1281, allocations: 8 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1281, allocations: 3.938 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1281, allocations: 7.938 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1282, allocations: 35.98 kB / 0.5511 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1282, allocations: 4 kB / 0.5511 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.1283, allocations: 11.98 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1283, allocations: 12.06 kB / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001568/0.1285, allocations: 157.8 kB / 0.5513 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.1286, allocations: 31.75 kB / 0.5513 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.1286, allocations: 29.73 kB / 0.5513 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1286, allocations: 7.984 kB / 0.5514 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1286, allocations: 0 / 0.5514 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1286, allocations: 0 / 0.5514 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1297, allocations: 0.7155 MB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1297, allocations: 4 kB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.1298, allocations: 31.94 kB / 0.5521 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1298, allocations: 4.172 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1298, allocations: 4 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1298, allocations: 7.938 kB / 0.5521 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1298, allocations: 3.938 kB / 0.5521 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.1303, allocations: 422 kB / 0.5525 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.1304, allocations: 101 kB / 0.5526 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.1304, allocations: 12 kB / 0.5526 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1306, allocations: 7.984 kB / 0.5526 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1306, allocations: 23.92 kB / 0.5526 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.1307, allocations: 11.98 kB / 0.5527 GB, free: 9.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.1309, allocations: 261.9 kB / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1309, allocations: 0 / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.1313, allocations: 55.88 kB / 0.553 GB, free: 9.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002666/0.134, allocations: 1.369 MB / 0.5543 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.1343, allocations: 151.8 kB / 0.5544 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1343, allocations: 0 / 0.5544 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1345, allocations: 71.84 kB / 0.5545 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.1351, allocations: 62.72 kB / 0.5546 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.1384, allocations: 2.657 MB / 0.5572 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1388, allocations: 0.7596 MB / 0.5579 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.139, allocations: 45.91 kB / 0.5579 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1391, allocations: 83.41 kB / 0.558 GB, free: 4.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1391, allocations: 0 / 0.558 GB, free: 4.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1681, allocations: 5.966 MB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/8.651, allocations: 6.094 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.751972957979888]