Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001312/0.001312, allocations: 114.2 kB / 17.08 MB, free: 5.961 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.001413/0.001413, allocations: 191.7 kB / 20.02 MB, free: 3.039 MB / 14.72 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 1.581/1.581, allocations: 205.1 MB / 227.9 MB, free: 4.352 MB / 174.1 MB " [Timeout remaining time 178] 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.3445/0.3445, allocations: 43.51 MB / 320.8 MB, free: 9.027 MB / 254.1 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.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003332/0.003332, allocations: 72.41 kB / 450.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3396, allocations: 57.78 MB / 0.496 GB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003032/0.3426, allocations: 1.7 MB / 0.4976 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3446, allocations: 1.418 MB / 0.499 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.3448, allocations: 5 kB / 0.499 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.3451, allocations: 40.8 kB / 0.4991 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.3454, allocations: 54.42 kB / 0.4991 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3456, allocations: 92.62 kB / 0.4992 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3458, allocations: 90.2 kB / 0.4993 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3459, allocations: 14.48 kB / 0.4993 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.346, allocations: 46.86 kB / 0.4993 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3462, allocations: 41.28 kB / 0.4994 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3462, allocations: 8.281 kB / 0.4994 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3463, allocations: 60.88 kB / 0.4994 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.3464, allocations: 15.55 kB / 0.4995 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.3465, allocations: 27.31 kB / 0.4995 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3467, allocations: 131.1 kB / 0.4996 GB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3467, allocations: 0 / 0.4996 GB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3467, allocations: 1.25 kB / 0.4996 GB, free: 16.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3467, allocations: 0 / 0.4996 GB, free: 16.54 MB / 382.1 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.0004946/0.3472, allocations: 409.5 kB / 0.5 GB, free: 16.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3473, allocations: 13.23 kB / 0.5 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.3473, allocations: 39.88 kB / 0.5001 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3474, allocations: 9.391 kB / 0.5001 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.3476, allocations: 202.3 kB / 0.5003 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3477, allocations: 5.5 kB / 0.5003 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3477, allocations: 6.094 kB / 0.5003 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3479, allocations: 66.83 kB / 0.5003 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3479, allocations: 0 / 0.5003 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3479, allocations: 4 kB / 0.5003 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3479, allocations: 5.125 kB / 0.5003 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.348, allocations: 18.23 kB / 0.5004 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.3483, allocations: 284.8 kB / 0.5006 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3485, allocations: 57.83 kB / 0.5007 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.3485, allocations: 29.28 kB / 0.5007 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3486, allocations: 1.375 kB / 0.5007 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3487, allocations: 70.05 kB / 0.5008 GB, free: 15.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3487, allocations: 0 / 0.5008 GB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.3493, allocations: 171.9 kB / 0.5009 GB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3494, allocations: 78.3 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3495, allocations: 163.1 kB / 0.5012 GB, free: 14.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3495, allocations: 26.67 kB / 0.5012 GB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.3496, allocations: 99.12 kB / 0.5013 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3496, allocations: 27.88 kB / 0.5013 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3496, allocations: 25.22 kB / 0.5013 GB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.3497, allocations: 322.1 kB / 0.5017 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.3498, allocations: 14.47 kB / 0.5017 GB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.3498, allocations: 44.62 kB / 0.5017 GB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.35, allocations: 62.7 kB / 0.5018 GB, free: 14.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.35, allocations: 1.094 kB / 0.5018 GB, free: 14.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.3502, allocations: 102.4 kB / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3502, allocations: 5.406 kB / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3502, allocations: 1.438 kB / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3502, allocations: 0 / 0.5019 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3503, allocations: 21.84 kB / 0.5019 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3503, allocations: 5.312 kB / 0.5019 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.3504, allocations: 10.05 kB / 0.5019 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3504, allocations: 2.125 kB / 0.5019 GB, free: 14.32 MB / 382.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 (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.915e-05/0.3505, allocations: 120.9 kB / 0.502 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3505, allocations: 8.203 kB / 0.502 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.3506, allocations: 16.08 kB / 0.5021 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3506, allocations: 5.125 kB / 0.5021 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3506, allocations: 1 kB / 0.5021 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3506, allocations: 11.92 kB / 0.5021 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.351, allocations: 378.6 kB / 0.5024 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.351, allocations: 5.469 kB / 0.5024 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.351, allocations: 10.92 kB / 0.5024 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.351, allocations: 5.031 kB / 0.5024 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3511, allocations: 6.281 kB / 0.5025 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3511, allocations: 0 / 0.5025 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3511, allocations: 1.094 kB / 0.5025 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3513, allocations: 200.7 kB / 0.5026 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.3513, allocations: 82.38 kB / 0.5027 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3514, allocations: 10.22 kB / 0.5027 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3515, allocations: 7.328 kB / 0.5027 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3515, allocations: 6.656 kB / 0.5027 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3515, allocations: 3.031 kB / 0.5028 GB, free: 13.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.211e-05/0.3516, allocations: 127.9 kB / 0.5029 GB, free: 13.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3516, allocations: 1.562 kB / 0.5029 GB, free: 13.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.3519, allocations: 32.33 kB / 0.5029 GB, free: 13.38 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.002082/0.354, allocations: 1.144 MB / 0.504 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3543, allocations: 62.42 kB / 0.5041 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3543, allocations: 0 / 0.5041 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.3544, allocations: 30.05 kB / 0.5041 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3548, allocations: 28.92 kB / 0.5041 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3563, allocations: 1.549 MB / 0.5057 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.3564, allocations: 0.7047 MB / 0.5063 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.3565, allocations: 18.92 kB / 0.5064 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.3566, allocations: 33.61 kB / 0.5064 GB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3566, allocations: 0 / 0.5064 GB, free: 10.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3851, allocations: 3.53 MB / 0.5098 GB, free: 8.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.601, allocations: 16.91 kB / 0.5099 GB, free: 8.012 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.630546435015276]