Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001401/0.001401, allocations: 113.7 kB / 17.13 MB, free: 5.918 MB / 14.72 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.00189/0.00189, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.816/1.816, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3824/0.3824, allocations: 44.24 MB / 326.6 MB, free: 6.828 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.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 61 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003146/0.3466, allocations: 1.716 MB / 0.5127 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3479, allocations: 0.8079 MB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3481, allocations: 3.938 kB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.3485, allocations: 41.14 kB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.3488, allocations: 56.67 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3492, allocations: 82.23 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.3494, allocations: 97.59 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3496, allocations: 9.312 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3497, allocations: 44.47 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3498, allocations: 36.94 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3498, allocations: 9.406 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.35, allocations: 42.64 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.35, allocations: 17.77 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.3501, allocations: 34.5 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.3504, allocations: 105.5 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3504, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3504, allocations: 1.031 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3504, 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.0007012/0.3511, allocations: 414 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.3512, allocations: 17.48 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3512, allocations: 32.12 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3513, allocations: 8.859 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3516, allocations: 210.8 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3516, allocations: 2.906 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3517, allocations: 5.656 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3519, allocations: 53.77 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3519, allocations: 9.016 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3519, allocations: 3.938 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3519, allocations: 4.969 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.352, allocations: 18.17 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.3524, allocations: 285.3 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3526, allocations: 52.14 kB / 0.5151 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.3526, allocations: 24.41 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3527, allocations: 9.094 kB / 0.5151 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3529, allocations: 65.05 kB / 0.5152 GB, free: 9.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3529, allocations: 1.344 kB / 0.5152 GB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006484/0.3535, allocations: 176.1 kB / 0.5154 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3536, allocations: 52.5 kB / 0.5154 GB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3537, allocations: 172.4 kB / 0.5156 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3537, allocations: 30.8 kB / 0.5156 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.3538, allocations: 100.8 kB / 0.5157 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3539, allocations: 23.23 kB / 0.5157 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3539, allocations: 25.08 kB / 0.5158 GB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.354, allocations: 325.4 kB / 0.5161 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.354, allocations: 14.88 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.3541, allocations: 40.05 kB / 0.5161 GB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.3542, allocations: 68.36 kB / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3542, allocations: 0 / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.3543, allocations: 98.56 kB / 0.5163 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3544, allocations: 5.281 kB / 0.5163 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3544, allocations: 3.984 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3544, allocations: 1.469 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.3545, allocations: 13.38 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3545, allocations: 0 / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3545, allocations: 14.91 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3545, allocations: 3 kB / 0.5163 GB, free: 8.66 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.021e-05/0.3546, allocations: 121.2 kB / 0.5164 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.3546, allocations: 8.578 kB / 0.5164 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.3547, allocations: 21.36 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3547, allocations: 0.9688 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/0.3547, allocations: 1.625 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3547, allocations: 3.938 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.355, allocations: 399.9 kB / 0.5168 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.355, allocations: 0 / 0.5168 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.3551, allocations: 7.812 kB / 0.5169 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3551, allocations: 5.125 kB / 0.5169 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3551, allocations: 2.688 kB / 0.5169 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3551, allocations: 0 / 0.5169 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3551, allocations: 5.391 kB / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3553, allocations: 203.5 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.3553, allocations: 83.81 kB / 0.5171 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3553, allocations: 10.69 kB / 0.5172 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.3554, allocations: 5.375 kB / 0.5172 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3554, allocations: 16.03 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3554, allocations: 2.75 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.3555, allocations: 135.5 kB / 0.5173 GB, free: 7.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3555, allocations: 4 kB / 0.5173 GB, free: 7.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3558, allocations: 28.42 kB / 0.5173 GB, free: 7.699 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.002126/0.3579, allocations: 1.1 MB / 0.5184 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3581, allocations: 55.53 kB / 0.5185 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3581, allocations: 0 / 0.5185 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.3582, allocations: 32.42 kB / 0.5185 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.3586, allocations: 28.2 kB / 0.5185 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.36, allocations: 1.614 MB / 0.5201 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3602, allocations: 0.7002 MB / 0.5208 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.3602, allocations: 21.17 kB / 0.5208 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.3603, allocations: 31.42 kB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3603, allocations: 0 / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3828, allocations: 3.314 MB / 0.5241 GB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.287, allocations: 10.53 kB / 0.5241 GB, free: 1.059 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.85635476699099]