Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.0007274/0.0007274, 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.0008015/0.0008015, 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.8292/0.8292, allocations: 158.6 MB / 185 MB, free: 3.023 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.1334/0.1334, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.46e-05, allocations: 6.078 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001986/0.002001, allocations: 1.797 MB / 408.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.003001, allocations: 0.866 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.003078, allocations: 7.938 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.003477, allocations: 255.2 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.003723, allocations: 191.2 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.00395, allocations: 151.5 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.004156, allocations: 255.2 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.004242, allocations: 9.812 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.004367, allocations: 151.6 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.004514, allocations: 191.6 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.004535, allocations: 4 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.004697, allocations: 43.92 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.00477, allocations: 63.77 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.004817, allocations: 47.78 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005016, allocations: 219.2 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005018, allocations: 0 / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005019, allocations: 0 / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005022, allocations: 0 / 411.1 MB, free: 13.9 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004518/0.005474, allocations: 0.5041 MB / 411.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.005507, allocations: 8.031 kB / 411.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.005535, allocations: 38.75 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.00557, allocations: 28.75 kB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.00579, allocations: 213.8 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005802, allocations: 4.375 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.005823, allocations: 8.359 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.005977, allocations: 103.6 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.005988, allocations: 0 / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005997, allocations: 4 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.006001, allocations: 4 kB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.006075, allocations: 43.95 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.006427, allocations: 428 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.006591, allocations: 121.2 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.006644, allocations: 45.69 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.00666, allocations: 0 / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.006805, allocations: 113.1 kB / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.006805, allocations: 0 / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005391/0.007345, allocations: 396.4 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.007379, allocations: 89.09 kB / 413.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.007679, allocations: 485.7 kB / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.007692, allocations: 29.7 kB / 413.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.007762, allocations: 160.3 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.007797, allocations: 51.58 kB / 414 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.007836, allocations: 37.7 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.00805, allocations: 354.7 kB / 414.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.00811, allocations: 47.92 kB / 414.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.008176, allocations: 71.41 kB / 414.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.008305, allocations: 127.5 kB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.008306, allocations: 0 / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000186/0.008492, allocations: 185.4 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.008505, allocations: 12.06 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00851, allocations: 0 / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.008521, allocations: 4 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.008738, allocations: 35.92 kB / 414.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.008745, allocations: 4 kB / 414.8 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.008792, allocations: 11.92 kB / 414.8 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.0088, allocations: 8 kB / 414.8 MB, free: 9.941 MB / 394.7 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 (20): * Single equations (assignments): 20 * 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 9.681e-05/0.008897, allocations: 169.7 kB / 415 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.008921, allocations: 31.81 kB / 415 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.009167, allocations: 228.4 kB / 415.3 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00917, allocations: 4 kB / 415.3 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009173, allocations: 3.938 kB / 415.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.009177, allocations: 0 / 415.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.009638, allocations: 0.6157 MB / 415.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009639, allocations: 0.75 kB / 415.9 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.009675, allocations: 23.94 kB / 415.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009679, allocations: 7.922 kB / 415.9 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.009688, allocations: 8.062 kB / 415.9 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.00969, allocations: 8 kB / 415.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.009693, allocations: 4 kB / 415.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.009919, allocations: 384.2 kB / 416.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.009941, allocations: 27.8 kB / 416.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.009961, allocations: 7.938 kB / 416.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.01003, allocations: 4 kB / 416.4 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.01007, allocations: 23.91 kB / 416.4 MB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.01008, allocations: 8 kB / 416.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.01029, allocations: 367.1 kB / 416.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 4 kB / 416.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.0105, allocations: 43.92 kB / 416.8 MB, free: 7.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001005/0.01151, allocations: 1.309 MB / 418.1 MB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.01168, allocations: 123.9 kB / 418.2 MB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01168, allocations: 0 / 418.2 MB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.01176, allocations: 63.84 kB / 418.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01206, allocations: 65.19 kB / 418.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.01398, allocations: 2.776 MB / 421.1 MB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.01409, allocations: 173.5 kB / 421.3 MB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.01414, allocations: 25.62 kB / 421.3 MB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.01423, allocations: 88.47 kB / 421.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01423, allocations: 0 / 421.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.03001, allocations: 6.929 MB / 428.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/6.61, allocations: 12 kB / 428.3 MB, free: 12.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.516495038755238]