Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 176.9 kB / 17.06 MB, free: 5.098 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.247/1.247, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009942/0.0009942, allocations: 101.7 kB / 292.2 MB, free: 10.94 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.2969/0.2969, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004696, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3331, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0986/0.4317, allocations: 88.35 MB / 0.5958 GB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.432, allocations: 87.91 kB / 0.5959 GB, free: 6.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.4425, allocations: 4.464 MB / 0.6003 GB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.449e-06/0.4425, allocations: 4 kB / 0.6003 GB, free: 2.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4425, allocations: 0 / 0.6003 GB, free: 2.266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003846/0.4429, allocations: 383 kB / 0.6006 GB, free: 1.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.443, allocations: 8.562 kB / 0.6007 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.443, allocations: 7.906 kB / 0.6007 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.4432, allocations: 190.9 kB / 0.6008 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.4432, allocations: 4 kB / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.4432, allocations: 4 kB / 0.6008 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.4434, allocations: 71.34 kB / 0.6009 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4434, allocations: 0 / 0.6009 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4434, allocations: 4 kB / 0.6009 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4434, allocations: 0 / 0.6009 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.4435, allocations: 35.86 kB / 0.601 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.4439, allocations: 284.9 kB / 0.6012 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4441, allocations: 46.5 kB / 0.6013 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.4441, allocations: 0 / 0.6013 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.4442, allocations: 34.5 kB / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4442, allocations: 0 / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005468/0.4447, allocations: 161.5 kB / 0.6015 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4448, allocations: 81.05 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4449, allocations: 133.9 kB / 0.6017 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.4449, allocations: 25.7 kB / 0.6017 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.445, allocations: 92.12 kB / 0.6018 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.445, allocations: 15.75 kB / 0.6018 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.445, allocations: 0 / 0.6018 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4451, allocations: 322.8 kB / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.4452, allocations: 23.98 kB / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.4453, allocations: 37.7 kB / 0.6022 GB, free: 120 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.4454, allocations: 27.98 kB / 0.6022 GB, free: 92 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4454, allocations: 3.953 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.4456, allocations: 97.84 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4456, allocations: 8 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4456, allocations: 3.938 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.4456, allocations: 0 / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.4457, allocations: 15.98 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.4457, allocations: 0 / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.4457, allocations: 11.94 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.4458, allocations: 0 / 0.6023 GB, free: 15.95 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 (5): * Single equations (assignments): 5 * 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 8.098e-05/0.4458, allocations: 121.8 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4459, allocations: 8.141 kB / 0.6024 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.4461, allocations: 105.6 kB / 0.6025 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4461, allocations: 7.984 kB / 0.6026 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4461, allocations: 3.938 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4461, allocations: 0 / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.4466, allocations: 366.5 kB / 0.6029 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4466, allocations: 0 / 0.6029 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.4466, allocations: 16 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.4466, allocations: 3.938 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.4467, allocations: 0 / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4467, allocations: 0 / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4467, allocations: 0 / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.4469, allocations: 203.3 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4469, allocations: 81.09 kB / 0.6032 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.447, allocations: 4 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.447, allocations: 4.25 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.4471, allocations: 3.984 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4471, allocations: 15.94 kB / 0.6032 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.4472, allocations: 100.5 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4472, allocations: 4 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.4474, allocations: 35.89 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008597/0.4483, allocations: 443.6 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.4485, allocations: 67.91 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4485, allocations: 0 / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.4486, allocations: 31.98 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.4487, allocations: 11.94 kB / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.4491, allocations: 176.8 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.4493, allocations: 0.6926 MB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.4494, allocations: 20.14 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.4494, allocations: 23.44 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4494, allocations: 3.938 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Templates: time 0.003218/0.4526, allocations: 1.273 MB / 0.606 GB, free: 12.16 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches