Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001261/0.001261, allocations: 108.5 kB / 16.27 MB, free: 5.93 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.001242/0.001242, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.225/1.225, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1833/0.1833, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001393/0.001393, allocations: 75.28 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08736, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003322/0.09071, allocations: 1.689 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.09219, allocations: 0.7961 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.09227, allocations: 7.938 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.09252, allocations: 83.77 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.0927, allocations: 75.66 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.09292, allocations: 83.77 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.09305, allocations: 107.7 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.09313, allocations: 12.17 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.09321, allocations: 55.77 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.09329, allocations: 51.83 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.09331, allocations: 4 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.0934, allocations: 47.97 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.09345, allocations: 23.86 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.09349, allocations: 31.75 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.09365, allocations: 111.7 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09367, allocations: 0 / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.09367, allocations: 3.938 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.09368, allocations: 0 / 443.8 MB, free: 3.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003357/0.09402, allocations: 422.9 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.09406, allocations: 15.89 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.0941, allocations: 34.73 kB / 444.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.09415, allocations: 12.75 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.09434, allocations: 216 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.09437, allocations: 384 / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.09439, allocations: 7.938 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.09454, allocations: 53.67 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.09456, allocations: 4 kB / 444.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.09458, allocations: 0 / 444.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.09459, allocations: 7.984 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.09468, allocations: 15.98 kB / 444.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.09501, allocations: 296.7 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.09521, allocations: 58.61 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.0953, allocations: 24.8 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.09533, allocations: 0 / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.09555, allocations: 71.38 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.09557, allocations: 0 / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006351/0.09622, allocations: 177.2 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.09626, allocations: 55.34 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.09647, allocations: 223.5 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.0965, allocations: 25.7 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.09655, allocations: 104.1 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.09659, allocations: 23.66 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.09664, allocations: 29.64 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.09671, allocations: 326.8 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.09679, allocations: 16 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.09687, allocations: 37.7 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.09701, allocations: 57.7 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.09702, allocations: 0 / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002349/0.09726, allocations: 101.4 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.09729, allocations: 7.984 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.0973, allocations: 4 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.09732, allocations: 0 / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.09744, allocations: 20.03 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.09746, allocations: 3.938 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.09755, allocations: 7.938 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.09757, allocations: 7.984 kB / 446.2 MB, free: 0.9258 MB / 318.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.753e-05/0.09768, allocations: 125.8 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.09773, allocations: 15.81 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.09779, allocations: 17.39 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.09781, allocations: 0 / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.09782, allocations: 4 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.09783, allocations: 7.938 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.09818, allocations: 391.3 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0982, allocations: 3.984 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.09825, allocations: 8 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.09827, allocations: 3.938 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.09828, allocations: 0 / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.09829, allocations: 4 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0983, allocations: 192 / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.09855, allocations: 208.5 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.09864, allocations: 96.84 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.09868, allocations: 3.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.09881, allocations: 8.375 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.09885, allocations: 11.92 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.09887, allocations: 4 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.09908, allocations: 163.2 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09909, allocations: 0 / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.09956, allocations: 20 kB / 447.3 MB, free: 15.74 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: 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.00209/0.1017, allocations: 1.104 MB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1019, allocations: 55.92 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1019, allocations: 0 / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.102, allocations: 28.11 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1025, allocations: 35.2 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.1049, allocations: 1.706 MB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1053, allocations: 0.7044 MB / 450.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.1053, allocations: 20.83 kB / 450.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.1054, allocations: 39.36 kB / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1054, allocations: 4 kB / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3367/0.4421, allocations: 3.404 MB / 454.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.48, allocations: 11.88 kB / 454.4 MB, free: 8.562 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches