Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 181.1 kB / 17.06 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 102.1 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.313/0.313, allocations: 44.21 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.000261, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2968, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.412, allocations: 88.16 MB / 0.5957 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4123, allocations: 79.92 kB / 0.5957 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.4231, allocations: 4.403 MB / 0.6 GB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4231, allocations: 3.938 kB / 0.6 GB, free: 2.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4232, allocations: 4 kB / 0.6 GB, free: 2.484 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004661/0.4236, allocations: 418.8 kB / 0.6004 GB, free: 2.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4237, allocations: 8.562 kB / 0.6004 GB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.4237, allocations: 11.91 kB / 0.6005 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.424, allocations: 226.6 kB / 0.6007 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.424, allocations: 11.89 kB / 0.6007 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.424, allocations: 4 kB / 0.6007 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4242, allocations: 53.67 kB / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4242, allocations: 0 / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4242, allocations: 4 kB / 0.6007 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4242, allocations: 0 / 0.6007 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.4243, allocations: 31.97 kB / 0.6008 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.4248, allocations: 316.8 kB / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4249, allocations: 46.56 kB / 0.6011 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4249, allocations: 0 / 0.6011 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4249, allocations: 38.56 kB / 0.6012 GB, free: 1.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.425, allocations: 0 / 0.6012 GB, free: 1.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008472/0.4258, allocations: 277.4 kB / 0.6014 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4259, allocations: 51.41 kB / 0.6015 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4261, allocations: 216.2 kB / 0.6017 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4261, allocations: 29.7 kB / 0.6017 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.4261, allocations: 116 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4262, allocations: 19.72 kB / 0.6018 GB, free: 452 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4262, allocations: 0 / 0.6018 GB, free: 452 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4263, allocations: 334.8 kB / 0.6022 GB, free: 108 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.4264, allocations: 31.98 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.4265, allocations: 35.97 kB / 0.6022 GB, free: 40 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.4265, allocations: 35.98 kB / 0.6023 GB, free: 4 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4266, allocations: 0 / 0.6023 GB, free: 4 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000231/0.4268, allocations: 121.5 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4268, allocations: 4 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4268, allocations: 0 / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4268, allocations: 0 / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.4269, allocations: 23.92 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.427, allocations: 4 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.427, allocations: 11.94 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.427, allocations: 3.984 kB / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.4271, allocations: 141.7 kB / 0.6025 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.4272, allocations: 19.8 kB / 0.6026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.4274, allocations: 139.3 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4275, allocations: 4 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4275, allocations: 0 / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4275, allocations: 4 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.428, allocations: 455.2 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.428, allocations: 0 / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.4281, allocations: 24.02 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4281, allocations: 3.938 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4281, allocations: 4 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4281, allocations: 0 / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4281, allocations: 3.953 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4284, allocations: 233.8 kB / 0.6034 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.4285, allocations: 97 kB / 0.6035 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.4285, allocations: 4 kB / 0.6035 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.4286, allocations: 7.953 kB / 0.6035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.4286, allocations: 7.984 kB / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.4287, allocations: 8 kB / 0.6035 GB, free: 14.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4288, allocations: 184.3 kB / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4288, allocations: 0 / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.4291, allocations: 31.98 kB / 0.6037 GB, free: 14.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00094/0.43, allocations: 470 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.4302, allocations: 79.89 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4302, allocations: 0 / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.4303, allocations: 44.05 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.4305, allocations: 16.17 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.431, allocations: 333.8 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.4313, allocations: 0.716 MB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.4313, allocations: 28.64 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.4314, allocations: 11.44 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/0.4314, allocations: 0 / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of Templates: time 0.004053/0.4354, allocations: 1.455 MB / 0.6068 GB, free: 11.36 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches