Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.00137/0.00137, allocations: 116.8 kB / 17.13 MB, free: 5.945 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.002084/0.002084, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.533/1.533, allocations: 207.6 MB / 230.5 MB, free: 4.25 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.3542/0.3542, allocations: 44.24 MB / 326.5 MB, free: 6.785 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.002281/0.002281, allocations: 83.78 kB / 462.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3323, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002841/0.3352, allocations: 1.705 MB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3363, allocations: 0.81 MB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.3364, allocations: 5 kB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3367, allocations: 47.09 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.3369, allocations: 58.98 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.3371, allocations: 86.59 kB / 0.5136 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3373, allocations: 94.23 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3374, allocations: 7.219 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.3375, allocations: 47.14 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.3375, allocations: 29.95 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3376, allocations: 3.781 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.3376, allocations: 34.92 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3377, allocations: 34.47 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.3377, allocations: 31.55 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.3379, allocations: 111.5 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3379, allocations: 0 / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3379, allocations: 4 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.338, allocations: 0 / 0.514 GB, free: 10.84 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.0004457/0.3384, allocations: 415.2 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3384, allocations: 13.58 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3385, allocations: 35.89 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3385, allocations: 14.5 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3387, allocations: 210.6 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3387, allocations: 1.906 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3387, allocations: 13.61 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3389, allocations: 54.3 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3389, allocations: 1.781 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3389, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3389, allocations: 3.938 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.339, allocations: 19.55 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.3393, allocations: 289.8 kB / 0.515 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.3394, allocations: 56.5 kB / 0.5151 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.3395, allocations: 20.31 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3395, allocations: 1.031 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3396, allocations: 76.78 kB / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3396, allocations: 0 / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004999/0.3401, allocations: 174.3 kB / 0.5153 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3402, allocations: 56.69 kB / 0.5154 GB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3403, allocations: 189.1 kB / 0.5156 GB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.3403, allocations: 27.48 kB / 0.5156 GB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3404, allocations: 97.58 kB / 0.5157 GB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3404, allocations: 23.44 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3404, allocations: 24.69 kB / 0.5157 GB, free: 9.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.3405, allocations: 322.5 kB / 0.516 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.3405, allocations: 26.7 kB / 0.5161 GB, free: 8.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.3406, allocations: 35.42 kB / 0.5161 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3407, allocations: 61.86 kB / 0.5162 GB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3407, allocations: 1.375 kB / 0.5162 GB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001604/0.3408, allocations: 106.8 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3409, allocations: 5.5 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3409, allocations: 4.031 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3409, allocations: 1.375 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.341, allocations: 21.67 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.341, allocations: 0 / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.341, allocations: 6.688 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.341, allocations: 2.75 kB / 0.5163 GB, free: 8.648 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.195e-05/0.3411, allocations: 131.1 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3411, allocations: 8.078 kB / 0.5164 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.3411, allocations: 18.22 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3411, allocations: 5.359 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3412, allocations: 0 / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3412, allocations: 7.922 kB / 0.5165 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.3415, allocations: 397.1 kB / 0.5168 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3415, allocations: 1.375 kB / 0.5168 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.3415, allocations: 7.062 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3415, allocations: 5.312 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3415, allocations: 5.312 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3415, allocations: 5.781 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3415, allocations: 9.297 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.3417, allocations: 196.3 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.3417, allocations: 87.77 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3418, allocations: 9.312 kB / 0.5172 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.3418, allocations: 2.75 kB / 0.5172 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3419, allocations: 14.73 kB / 0.5172 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3419, allocations: 4.125 kB / 0.5172 GB, free: 7.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.342, allocations: 145.2 kB / 0.5173 GB, free: 7.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 0.5173 GB, free: 7.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3423, allocations: 20.5 kB / 0.5173 GB, free: 7.688 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.001865/0.3441, allocations: 1.103 MB / 0.5184 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3443, allocations: 61 kB / 0.5185 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3443, allocations: 4.062 kB / 0.5185 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.3444, allocations: 23.11 kB / 0.5185 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3448, allocations: 37.14 kB / 0.5185 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3464, allocations: 1.62 MB / 0.5201 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3466, allocations: 0.7109 MB / 0.5208 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.3466, allocations: 12.88 kB / 0.5208 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.3467, allocations: 39.36 kB / 0.5209 GB, free: 4.438 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3467, allocations: 0 / 0.5209 GB, free: 4.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.3714, allocations: 3.4 MB / 0.5242 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.473, allocations: 4 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.417883649934083]