Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001624/0.001624, allocations: 102.6 kB / 16.27 MB, free: 6.301 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.001952/0.001952, allocations: 191 kB / 17.19 MB, free: 5.93 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.28 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.1981/0.1981, 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.00167/0.00167, allocations: 80.86 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.08156, allocations: 57.8 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00268/0.08428, allocations: 1.689 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.0853, allocations: 0.8 MB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.08539, allocations: 0 / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.08567, allocations: 103.7 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.08589, allocations: 87.62 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.0861, allocations: 91.27 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.08625, allocations: 107.7 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.08637, allocations: 16.17 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.08648, allocations: 55.77 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.0866, allocations: 59.81 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.08663, allocations: 4 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.08675, allocations: 43.92 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.08681, allocations: 27.91 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.0869, allocations: 35.69 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.08713, allocations: 123.6 kB / 443.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08714, allocations: 0 / 443.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08715, allocations: 4 kB / 443.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.08717, allocations: 0 / 443.9 MB, free: 3.562 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.0004985/0.08767, allocations: 430.8 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.08772, allocations: 11.89 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.08777, allocations: 38.69 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.08782, allocations: 12.75 kB / 444.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.08803, allocations: 220.8 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.08806, allocations: 4.375 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.08809, allocations: 7.938 kB / 444.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.08826, allocations: 53.67 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.08829, allocations: 4 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.08831, allocations: 4 kB / 444.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.08832, allocations: 0 / 444.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.08842, allocations: 19.92 kB / 444.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.08877, allocations: 292.9 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.08899, allocations: 62.61 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.08907, allocations: 24.84 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.0891, allocations: 3.938 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.08931, allocations: 67.33 kB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.08933, allocations: 0 / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000636/0.08997, allocations: 189 kB / 445.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.09002, allocations: 51.41 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.09026, allocations: 238.4 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.09028, allocations: 25.7 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.09034, allocations: 112.1 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.09039, allocations: 23.7 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.09044, allocations: 21.72 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.0905, allocations: 326.8 kB / 446.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.09059, allocations: 19.98 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.09068, allocations: 37.7 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.09084, allocations: 61.64 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.09085, allocations: 0 / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002584/0.09112, allocations: 109.5 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09115, allocations: 4 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09116, allocations: 8.031 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.09118, allocations: 0 / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.09131, allocations: 19.92 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.09132, allocations: 0 / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.0914, allocations: 7.938 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.09142, allocations: 4 kB / 446.3 MB, free: 0.8477 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.439e-05/0.09152, allocations: 137.7 kB / 446.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.09157, allocations: 15.81 kB / 446.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.09163, allocations: 21.39 kB / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.09164, allocations: 4 kB / 446.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.09166, allocations: 0 / 446.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.09167, allocations: 3.938 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.09213, allocations: 395.7 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.09215, allocations: 4 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.0922, allocations: 15.98 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.09222, allocations: 3.938 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.09224, allocations: 7.969 kB / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.09225, allocations: 192 / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.09226, allocations: 4 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.09256, allocations: 208.1 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.09264, allocations: 88.92 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.09268, allocations: 7.922 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.09282, allocations: 4 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.09287, allocations: 12 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.0929, allocations: 3.984 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.09313, allocations: 180.3 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09314, allocations: 0 / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.09365, allocations: 27.98 kB / 447.5 MB, free: 15.62 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.002241/0.0959, allocations: 1.097 MB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.09617, allocations: 63.89 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.09619, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.0963, allocations: 35.92 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.09688, allocations: 26.02 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.09964, allocations: 1.77 MB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1, allocations: 0.7119 MB / 451.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.1001, allocations: 17.19 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1002, allocations: 47.34 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1003, allocations: 0 / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1226, allocations: 3.538 MB / 454.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.211, allocations: 0 / 454.8 MB, free: 8.234 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches