Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001088/0.001088, allocations: 102.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.00113/0.00113, allocations: 188.1 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.439/1.439, 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.2183/0.2183, allocations: 43.51 MB / 313.9 MB, free: 0.5156 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.001555/0.001555, allocations: 72.86 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07829, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002384/0.08071, allocations: 1.901 MB / 442.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.0817, allocations: 0.835 MB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.0818, allocations: 4 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.08207, allocations: 51.69 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.08225, allocations: 59.64 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.08249, allocations: 99.73 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.08264, allocations: 135.6 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.08274, allocations: 33.44 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.08282, allocations: 59.7 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.08289, allocations: 51.66 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.08291, allocations: 4 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.08299, allocations: 51.97 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.08304, allocations: 27.92 kB / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.0831, allocations: 43.67 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.08326, allocations: 143.5 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.08327, allocations: 0 / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.08328, allocations: 4 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.08329, allocations: 0 / 444.1 MB, free: 3.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00042/0.08371, allocations: 488.4 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.08375, allocations: 15.89 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.278e-05/0.08377, allocations: 34.75 kB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.08381, allocations: 16.75 kB / 444.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.08398, allocations: 216.1 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.084, allocations: 8.375 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.08402, allocations: 15.84 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.0842, allocations: 112.1 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.08422, allocations: 0 / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.08424, allocations: 4 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.08425, allocations: 0 / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.08437, allocations: 51.91 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.08475, allocations: 0.501 MB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.08502, allocations: 94.59 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.08511, allocations: 40.83 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.08514, allocations: 3.938 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.08531, allocations: 83.31 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.08532, allocations: 3.938 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000308/0.08563, allocations: 141.5 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.08566, allocations: 55.34 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.08578, allocations: 191.4 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.08579, allocations: 33.7 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.08584, allocations: 112 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.08586, allocations: 27.64 kB / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.0859, allocations: 33.62 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.08594, allocations: 326.8 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.08602, allocations: 27.98 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.0861, allocations: 71.66 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.08625, allocations: 96.2 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.08626, allocations: 0 / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002107/0.08648, allocations: 133.8 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.0865, allocations: 4.094 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.08651, allocations: 12 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.08652, allocations: 7.938 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.08662, allocations: 27.97 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.08663, allocations: 0 / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.0867, allocations: 19.89 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.08671, allocations: 4 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001006/0.08682, allocations: 129.7 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.08685, allocations: 11.81 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.0869, allocations: 21.39 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.08691, allocations: 7.938 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.08692, allocations: 0 / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.08693, allocations: 0 / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.08708, allocations: 213.5 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08709, allocations: 0 / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.08717, allocations: 19.98 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.08718, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.08719, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.0872, allocations: 3.938 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0872, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.08754, allocations: 180.8 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.08759, allocations: 96.97 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.08762, allocations: 4 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.08769, allocations: 7.938 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.08773, allocations: 3.984 kB / 447.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.08775, allocations: 8 kB / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.08786, allocations: 149.2 kB / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08787, allocations: 0 / 447.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000215/0.08809, allocations: 28.03 kB / 448 MB, free: 15.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001305/0.0894, allocations: 1.015 MB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.08963, allocations: 87.78 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.08965, allocations: 4 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.08974, allocations: 35.97 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.09002, allocations: 43.08 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.09194, allocations: 1.728 MB / 450.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.09221, allocations: 0.72 MB / 451.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.09229, allocations: 17.41 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.09236, allocations: 47.42 kB / 451.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09237, allocations: 0 / 451.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08002/0.1724, allocations: 3.676 MB / 455.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.492/8.665, allocations: 15.81 kB / 455.3 MB, free: 7.555 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches