Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001279/0.00128, allocations: 116.8 kB / 17.08 MB, free: 5.988 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.001359/0.001359, allocations: 191.7 kB / 20.02 MB, free: 3.062 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.624/1.624, allocations: 205.1 MB / 227.9 MB, free: 4.344 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.3674/0.3674, allocations: 43.51 MB / 320.8 MB, free: 9.031 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.00226/0.00226, allocations: 79.88 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3271, allocations: 57.77 MB / 0.496 GB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002984/0.3302, allocations: 1.707 MB / 0.4976 GB, free: 18.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3315, allocations: 0.799 MB / 0.4984 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.3316, allocations: 5.156 kB / 0.4984 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.3321, allocations: 42.7 kB / 0.4985 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.3324, allocations: 57.5 kB / 0.4985 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.3327, allocations: 94.02 kB / 0.4986 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3329, allocations: 92.97 kB / 0.4987 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3331, allocations: 10.19 kB / 0.4987 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3332, allocations: 47.02 kB / 0.4987 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3333, allocations: 29.77 kB / 0.4988 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3333, allocations: 7.188 kB / 0.4988 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3334, allocations: 42.69 kB / 0.4988 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.3335, allocations: 18.98 kB / 0.4988 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.3335, allocations: 31.75 kB / 0.4989 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3338, allocations: 119.5 kB / 0.499 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3338, allocations: 0 / 0.499 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3338, allocations: 0 / 0.499 GB, free: 17.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3338, allocations: 0 / 0.499 GB, free: 17.07 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.0006358/0.3344, allocations: 416.5 kB / 0.4994 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/0.3345, allocations: 16.52 kB / 0.4994 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.3346, allocations: 31.78 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3346, allocations: 14.06 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.335, allocations: 215.3 kB / 0.4996 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.335, allocations: 1.438 kB / 0.4996 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.3351, allocations: 6.156 kB / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3353, allocations: 61.97 kB / 0.4997 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3353, allocations: 1.156 kB / 0.4997 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3353, allocations: 0 / 0.4997 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3353, allocations: 5.031 kB / 0.4997 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.3354, allocations: 18.48 kB / 0.4997 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3359, allocations: 282 kB / 0.5 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3361, allocations: 61.36 kB / 0.5001 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.3362, allocations: 18.58 kB / 0.5001 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.3363, allocations: 5.219 kB / 0.5001 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.3365, allocations: 72.17 kB / 0.5002 GB, free: 15.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.3365, allocations: 1.062 kB / 0.5002 GB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007323/0.3373, allocations: 173.2 kB / 0.5003 GB, free: 15.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3373, allocations: 52.56 kB / 0.5004 GB, free: 15.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.3376, allocations: 189.3 kB / 0.5006 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3376, allocations: 31.02 kB / 0.5006 GB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3377, allocations: 105.7 kB / 0.5007 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3377, allocations: 22.69 kB / 0.5007 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.3378, allocations: 24.95 kB / 0.5007 GB, free: 15.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3379, allocations: 322.4 kB / 0.501 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.338, allocations: 18.78 kB / 0.5011 GB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.338, allocations: 43.77 kB / 0.5011 GB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3382, allocations: 62.33 kB / 0.5012 GB, free: 14.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3382, allocations: 1.156 kB / 0.5012 GB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.3384, allocations: 106.4 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3384, allocations: 5.719 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3384, allocations: 1.125 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3385, allocations: 0 / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3386, allocations: 17.12 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3386, allocations: 1.094 kB / 0.5013 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.3387, allocations: 14.11 kB / 0.5013 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3387, allocations: 7.156 kB / 0.5013 GB, free: 14.86 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 9.912e-05/0.3388, allocations: 122.5 kB / 0.5014 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3388, allocations: 10.08 kB / 0.5014 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.3389, allocations: 17.39 kB / 0.5014 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3389, allocations: 1.75 kB / 0.5014 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3389, allocations: 0 / 0.5014 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3389, allocations: 3.938 kB / 0.5015 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.3394, allocations: 396.8 kB / 0.5018 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3395, allocations: 1.031 kB / 0.5018 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.3395, allocations: 7.719 kB / 0.5018 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3395, allocations: 9.203 kB / 0.5018 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3396, allocations: 0.9688 kB / 0.5018 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3396, allocations: 0.9375 kB / 0.5018 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3396, allocations: 1.125 kB / 0.5018 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3398, allocations: 204.5 kB / 0.502 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3399, allocations: 88.23 kB / 0.5021 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3399, allocations: 9.125 kB / 0.5021 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.34, allocations: 6.578 kB / 0.5021 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.34, allocations: 3.438 kB / 0.5021 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3401, allocations: 7.312 kB / 0.5022 GB, free: 14.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3402, allocations: 145 kB / 0.5023 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3402, allocations: 4 kB / 0.5023 GB, free: 13.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.3405, allocations: 24.38 kB / 0.5023 GB, free: 13.91 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.002005/0.3425, allocations: 1.11 MB / 0.5034 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3427, allocations: 53.91 kB / 0.5035 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3427, allocations: 0 / 0.5035 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.3428, allocations: 34.08 kB / 0.5035 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3433, allocations: 44.48 kB / 0.5035 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3449, allocations: 1.628 MB / 0.5051 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.345, allocations: 0.7006 MB / 0.5058 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.3451, allocations: 14.39 kB / 0.5058 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3452, allocations: 34.17 kB / 0.5059 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3452, allocations: 1.281 kB / 0.5059 GB, free: 10.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3714, allocations: 3.37 MB / 0.5091 GB, free: 8.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.432, allocations: 1.125 kB / 0.5091 GB, free: 8.715 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.508728791959584]