Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8855/0.8855, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.141/0.141, allocations: 32.38 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.485e-05, allocations: 6.078 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002453/0.002478, allocations: 1.676 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.00339, allocations: 0.7803 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.00346, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.003741, allocations: 39.77 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.00394, allocations: 67.62 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.004131, allocations: 87.64 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.00428, allocations: 99.69 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.004371, allocations: 4.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.004458, allocations: 55.77 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.004528, allocations: 27.91 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.004547, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.004624, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.004675, allocations: 15.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.004715, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004882, allocations: 115.6 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004885, allocations: 3.938 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004886, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004889, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003779/0.005267, allocations: 333.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.005303, allocations: 8.031 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.005332, allocations: 34.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.005361, allocations: 12.89 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005542, allocations: 145.5 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005554, allocations: 4.375 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.00557, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.005689, allocations: 57.98 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.0057, allocations: 4 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005707, allocations: 0 / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005712, allocations: 0 / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.504e-05/0.005767, allocations: 31.91 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.006346, allocations: 251.9 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006464, allocations: 58.67 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.0065, allocations: 20.84 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.006514, allocations: 8 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.006622, allocations: 67.33 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.006623, allocations: 0 / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004098/0.007033, allocations: 185.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.007068, allocations: 55.39 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.007179, allocations: 178.3 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.007193, allocations: 33.64 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.007236, allocations: 96.14 kB / 411.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.007264, allocations: 23.78 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.007298, allocations: 25.72 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.007376, allocations: 330.8 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.007411, allocations: 19.98 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.007451, allocations: 37.7 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.007527, allocations: 61.64 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007528, allocations: 0 / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001166/0.007644, allocations: 105.7 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.007657, allocations: 4 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007663, allocations: 80 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007674, allocations: 4.219 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.007745, allocations: 19.94 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.007752, allocations: 11.91 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.007783, allocations: 8 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.007789, allocations: 0 / 412.1 MB, free: 12.7 MB / 394.7 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 (10): * Single equations (assignments): 10 * 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 7.532e-05/0.007865, allocations: 121.8 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.007878, allocations: 11.95 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.008051, allocations: 122.4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.008054, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008058, allocations: 4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008062, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.008398, allocations: 370.3 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.008403, allocations: 7.984 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.008429, allocations: 8.375 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008431, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.008439, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008441, allocations: 8 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008444, allocations: 7.875 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.0086, allocations: 208.3 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.008613, allocations: 11.98 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.008631, allocations: 4 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.008668, allocations: 3.938 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.008698, allocations: 11.92 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.008713, allocations: 4 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.008787, allocations: 144 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008787, allocations: 0 / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000177/0.008964, allocations: 23.94 kB / 413.2 MB, free: 11.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001105/0.01007, allocations: 1.129 MB / 414.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.0102, allocations: 55.91 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01021, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.01025, allocations: 35.92 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01049, allocations: 32.34 kB / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.01174, allocations: 1.622 MB / 416.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/0.01181, allocations: 85.44 kB / 416.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.01185, allocations: 20.47 kB / 416.2 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.01191, allocations: 36.5 kB / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01191, allocations: 0 / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.02983, allocations: 4.149 MB / 420.4 MB, free: 4.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.451/6.48, allocations: 7.844 kB / 420.4 MB, free: 4.148 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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: 8.475406440906227]