Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009431/0.000943, allocations: 176.5 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.256/1.256, allocations: 223.2 MB / 241 MB, free: 10.17 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.0008131/0.0008131, allocations: 90.78 kB / 292.2 MB, free: 10.71 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.3037/0.3037, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 11.98 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3052, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.413, allocations: 88.05 MB / 0.5955 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4133, allocations: 79.92 kB / 0.5956 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01051/0.4238, allocations: 4.276 MB / 0.5998 GB, free: 2.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4238, allocations: 0 / 0.5998 GB, free: 2.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4239, allocations: 0 / 0.5998 GB, free: 2.746 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.0004132/0.4243, allocations: 422.7 kB / 0.6002 GB, free: 2.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4243, allocations: 12.56 kB / 0.6002 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4244, allocations: 7.906 kB / 0.6002 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4246, allocations: 199.9 kB / 0.6004 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4246, allocations: 0 / 0.6004 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4246, allocations: 4 kB / 0.6004 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4248, allocations: 61.62 kB / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4248, allocations: 0 / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4248, allocations: 0 / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4248, allocations: 0 / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.4249, allocations: 35.92 kB / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.4253, allocations: 300.7 kB / 0.6008 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.4254, allocations: 42.56 kB / 0.6008 GB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4254, allocations: 12.02 kB / 0.6008 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4254, allocations: 34.56 kB / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4254, allocations: 0 / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008277/0.4263, allocations: 237.1 kB / 0.6011 GB, free: 1.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.4263, allocations: 63.39 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4265, allocations: 179.1 kB / 0.6013 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4265, allocations: 29.7 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.4266, allocations: 111.9 kB / 0.6015 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.4266, allocations: 27.64 kB / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4266, allocations: 0 / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.4267, allocations: 326.8 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4268, allocations: 31.98 kB / 0.6018 GB, free: 460 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.4269, allocations: 27.98 kB / 0.6019 GB, free: 432 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.427, allocations: 32.05 kB / 0.6019 GB, free: 400 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.427, allocations: 0 / 0.6019 GB, free: 400 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.4272, allocations: 117.4 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4272, allocations: 4 kB / 0.602 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4272, allocations: 3.984 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.4272, allocations: 0 / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.4273, allocations: 16 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4273, allocations: 0 / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.4274, allocations: 15.98 kB / 0.602 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4274, allocations: 3.938 kB / 0.602 GB, free: 232 kB / 410.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 8.415e-05/0.4275, allocations: 133.8 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.4275, allocations: 7.906 kB / 0.6022 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4278, allocations: 118.7 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4278, allocations: 7.984 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4278, allocations: 0 / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4278, allocations: 3.984 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.4283, allocations: 431.2 kB / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4283, allocations: 4 kB / 0.6027 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.4284, allocations: 19.98 kB / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4284, allocations: 0 / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.4284, allocations: 0 / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4284, allocations: 4.469 kB / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4284, allocations: 0 / 0.6027 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.4286, allocations: 237.9 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.4287, allocations: 89 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4287, allocations: 8 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.4288, allocations: 4 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.4289, allocations: 15.94 kB / 0.6031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4289, allocations: 4 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.429, allocations: 156 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.429, allocations: 0 / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.4292, allocations: 27.98 kB / 0.6033 GB, free: 14.86 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.0009034/0.4302, allocations: 467.9 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4304, allocations: 71.95 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4304, allocations: 0 / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.4305, allocations: 39.92 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4307, allocations: 27.83 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.4311, allocations: 270.4 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.4313, allocations: 0.7082 MB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.4314, allocations: 16.95 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.4314, allocations: 15.44 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4315, allocations: 7.938 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003258/0.4347, allocations: 1.332 MB / 0.6061 GB, free: 12.04 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches