Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.8 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 189.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB 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.001431/0.001431, allocations: 72.17 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08439/0.08584, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002662/0.08854, allocations: 1.92 MB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.08968, allocations: 0.9675 MB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.08979, allocations: 4 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.09033, allocations: 203.4 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.09061, allocations: 147.4 kB / 443.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.091, allocations: 195.2 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.09121, allocations: 251.3 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.09132, allocations: 33.94 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.09143, allocations: 99.61 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.09154, allocations: 107.5 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.09158, allocations: 16 kB / 444.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.09169, allocations: 47.98 kB / 444.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.09176, allocations: 63.75 kB / 444.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.09183, allocations: 79.48 kB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.09204, allocations: 231.2 kB / 445 MB, free: 2.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09206, allocations: 8 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09206, allocations: 0 / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09207, allocations: 0 / 445 MB, free: 2.43 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005868/0.09267, allocations: 0.5349 MB / 445.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.0927, allocations: 15.89 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.09274, allocations: 42.73 kB / 445.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.09279, allocations: 20.66 kB / 445.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.09305, allocations: 291.5 kB / 445.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.09307, allocations: 384 / 445.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.09309, allocations: 7.938 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.09328, allocations: 108.1 kB / 446 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.0933, allocations: 4 kB / 446 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.09332, allocations: 7.938 kB / 446 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09333, allocations: 4 kB / 446 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.09344, allocations: 31.98 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.09381, allocations: 381.4 kB / 446.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.09406, allocations: 117.3 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.09416, allocations: 45.64 kB / 446.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.09418, allocations: 4 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.09437, allocations: 117 kB / 446.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.09438, allocations: 0 / 446.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003775/0.09476, allocations: 177.7 kB / 446.9 MB, free: 336 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.0948, allocations: 114.7 kB / 447 MB, free: 196 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.09512, allocations: 331.2 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.09515, allocations: 29.7 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.09527, allocations: 136.1 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.09532, allocations: 35.45 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.09538, allocations: 29.72 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.09553, allocations: 342.8 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.09563, allocations: 39.91 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.09576, allocations: 73.14 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.09597, allocations: 99.41 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.09599, allocations: 4 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002753/0.09627, allocations: 137.3 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.0963, allocations: 13.34 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.09631, allocations: 0 / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.09633, allocations: 0 / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.09644, allocations: 27.92 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.09646, allocations: 0 / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.09655, allocations: 19.92 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.09657, allocations: 4 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001426/0.09672, allocations: 153.7 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.09677, allocations: 27.72 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.09683, allocations: 25.73 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.09684, allocations: 4 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.09685, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.09685, allocations: 3.938 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.09708, allocations: 253.6 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.09709, allocations: 8 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.09713, allocations: 7.938 kB / 448.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.09714, allocations: 7.984 kB / 448.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.09716, allocations: 4 kB / 448.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.09717, allocations: 0 / 448.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.09717, allocations: 4 kB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.09749, allocations: 189.5 kB / 448.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.09756, allocations: 88.92 kB / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.0976, allocations: 8 kB / 449 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.09768, allocations: 7.984 kB / 449 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.09774, allocations: 11.92 kB / 449 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.09777, allocations: 15.94 kB / 449.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.09802, allocations: 241.9 kB / 449.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09803, allocations: 0 / 449.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.09831, allocations: 47.89 kB / 449.3 MB, free: 13.64 MB / 334.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001484/0.09981, allocations: 1.024 MB / 450.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1001, allocations: 99.77 kB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1002, allocations: 0 / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1003, allocations: 43.98 kB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1007, allocations: 65.59 kB / 450.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.1033, allocations: 2.295 MB / 452.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1036, allocations: 0.7475 MB / 453.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.1037, allocations: 41.92 kB / 453.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1039, allocations: 63.42 kB / 453.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1039, allocations: 0 / 453.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1257, allocations: 5.511 MB / 459.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.542, allocations: 11.67 kB / 459.2 MB, free: 3.652 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches