Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.001291/0.001291, allocations: 108.3 kB / 17.07 MB, free: 6.008 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.001268/0.001268, allocations: 192.7 kB / 20.02 MB, free: 3.078 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.592/1.592, allocations: 205.1 MB / 227.9 MB, free: 4.375 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.3626/0.3626, allocations: 43.51 MB / 320.8 MB, free: 9.016 MB / 254.1 MB " [Timeout remaining time 179] 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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.002187/0.002187, allocations: 83.88 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3358, allocations: 57.78 MB / 0.496 GB, free: 19.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00295/0.3388, allocations: 1.705 MB / 0.4976 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.34, allocations: 0.8034 MB / 0.4984 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.3401, allocations: 1.156 kB / 0.4984 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.3405, allocations: 50.5 kB / 0.4985 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3407, allocations: 58.62 kB / 0.4985 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.341, allocations: 93.33 kB / 0.4986 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3412, allocations: 92.88 kB / 0.4987 GB, free: 17.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.3413, allocations: 18.92 kB / 0.4987 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.3413, allocations: 43.81 kB / 0.4988 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.3414, allocations: 25.02 kB / 0.4988 GB, free: 17.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3414, allocations: 3.25 kB / 0.4988 GB, free: 17.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.3416, allocations: 47.22 kB / 0.4988 GB, free: 17.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.3416, allocations: 20.48 kB / 0.4989 GB, free: 17.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.3417, allocations: 39.98 kB / 0.4989 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3419, allocations: 127.2 kB / 0.499 GB, free: 16.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3419, allocations: 7.922 kB / 0.499 GB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3419, allocations: 0 / 0.499 GB, free: 16.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3419, allocations: 1.188 kB / 0.499 GB, free: 16.93 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.0004893/0.3424, allocations: 426 kB / 0.4994 GB, free: 16.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3424, allocations: 13.55 kB / 0.4994 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.3425, allocations: 35.84 kB / 0.4995 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3425, allocations: 14.16 kB / 0.4995 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3428, allocations: 217.2 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3428, allocations: 1.438 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3428, allocations: 6.094 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.343, allocations: 58.89 kB / 0.4998 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.343, allocations: 0 / 0.4998 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.343, allocations: 0 / 0.4998 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.343, allocations: 1.188 kB / 0.4998 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.3431, allocations: 22.14 kB / 0.4998 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.3434, allocations: 292.6 kB / 0.5001 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3435, allocations: 58.58 kB / 0.5001 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.3436, allocations: 21.62 kB / 0.5001 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3436, allocations: 5.406 kB / 0.5001 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3438, allocations: 68.48 kB / 0.5002 GB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3438, allocations: 0 / 0.5002 GB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.3444, allocations: 183.6 kB / 0.5004 GB, free: 15.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3444, allocations: 52.66 kB / 0.5004 GB, free: 15.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3446, allocations: 230.6 kB / 0.5007 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3446, allocations: 27.08 kB / 0.5007 GB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.3447, allocations: 110.4 kB / 0.5008 GB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.3447, allocations: 28.28 kB / 0.5008 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3447, allocations: 19.66 kB / 0.5008 GB, free: 15.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.3448, allocations: 327 kB / 0.5011 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.3449, allocations: 18.81 kB / 0.5012 GB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.345, allocations: 43.95 kB / 0.5012 GB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3451, allocations: 62.61 kB / 0.5013 GB, free: 14.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3451, allocations: 0 / 0.5013 GB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001653/0.3452, allocations: 103.8 kB / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3453, allocations: 6.25 kB / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3453, allocations: 0 / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3453, allocations: 1.312 kB / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.3454, allocations: 17.14 kB / 0.5014 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3454, allocations: 5.406 kB / 0.5014 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.3455, allocations: 10.81 kB / 0.5014 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3455, allocations: 5.5 kB / 0.5014 GB, free: 14.69 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.705e-05/0.3456, allocations: 130.5 kB / 0.5015 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.3456, allocations: 9.391 kB / 0.5015 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.3456, allocations: 23.83 kB / 0.5016 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3456, allocations: 1.062 kB / 0.5016 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3457, allocations: 0 / 0.5016 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3457, allocations: 5.344 kB / 0.5016 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.346, allocations: 396.5 kB / 0.5019 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.346, allocations: 3.984 kB / 0.502 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.3461, allocations: 7.656 kB / 0.502 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3461, allocations: 5.188 kB / 0.502 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3461, allocations: 1 kB / 0.502 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3461, allocations: 1.031 kB / 0.502 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3461, allocations: 1.406 kB / 0.502 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3463, allocations: 212.5 kB / 0.5022 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.3463, allocations: 93.19 kB / 0.5023 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3464, allocations: 5.75 kB / 0.5023 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.3464, allocations: 5.281 kB / 0.5023 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.3465, allocations: 12.36 kB / 0.5023 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3465, allocations: 3.312 kB / 0.5023 GB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3466, allocations: 165.5 kB / 0.5024 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3466, allocations: 0 / 0.5024 GB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3469, allocations: 28.8 kB / 0.5025 GB, free: 13.72 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.001886/0.3488, allocations: 1.107 MB / 0.5036 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.349, allocations: 59.25 kB / 0.5036 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.349, allocations: 0 / 0.5036 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.3491, allocations: 29.08 kB / 0.5036 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3494, allocations: 29.31 kB / 0.5037 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.351, allocations: 1.721 MB / 0.5053 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3511, allocations: 0.7124 MB / 0.506 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.3512, allocations: 18.22 kB / 0.5061 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.3513, allocations: 42.62 kB / 0.5061 GB, free: 10.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3513, allocations: 0 / 0.5061 GB, free: 10.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3793, allocations: 3.542 MB / 0.5096 GB, free: 8.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.498, allocations: 9.828 kB / 0.5096 GB, free: 8.398 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.530571920098737]