Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009814/0.0009811, allocations: 179 kB / 18.09 MB, free: 3.758 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.164/1.164, allocations: 223.3 MB / 242.1 MB, free: 9.859 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.0007275/0.0007276, allocations: 89.72 kB / 293.3 MB, free: 10.55 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.2786/0.2786, allocations: 44.15 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 61.89 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08921/0.3351, allocations: 87.96 MB / 0.5966 GB, free: 7.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3354, allocations: 79.95 kB / 0.5967 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008825/0.3442, allocations: 3.67 MB / 0.6003 GB, free: 3.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3442, allocations: 0 / 0.6003 GB, free: 3.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3443, allocations: 4 kB / 0.6003 GB, free: 3.363 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.0003126/0.3446, allocations: 379.2 kB / 0.6007 GB, free: 2.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3446, allocations: 12.03 kB / 0.6007 GB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3447, allocations: 8.844 kB / 0.6007 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3448, allocations: 196.2 kB / 0.6009 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3448, allocations: 384 / 0.6009 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3449, allocations: 4.375 kB / 0.6009 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.345, allocations: 58.23 kB / 0.6009 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.345, allocations: 192 / 0.6009 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.345, allocations: 3.938 kB / 0.6009 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.345, allocations: 0 / 0.6009 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.3451, allocations: 23.98 kB / 0.6009 GB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3454, allocations: 272.9 kB / 0.6012 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3456, allocations: 50.5 kB / 0.6013 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.3457, allocations: 20.94 kB / 0.6013 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3457, allocations: 0 / 0.6013 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3457, allocations: 38.48 kB / 0.6013 GB, free: 2.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.3457, allocations: 7.938 kB / 0.6013 GB, free: 2.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004628/0.3462, allocations: 153.2 kB / 0.6015 GB, free: 1.988 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3462, allocations: 59.41 kB / 0.6015 GB, free: 1.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3463, allocations: 143.9 kB / 0.6017 GB, free: 1.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.3463, allocations: 25.7 kB / 0.6017 GB, free: 1.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.3464, allocations: 96.12 kB / 0.6018 GB, free: 1.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.3464, allocations: 7.812 kB / 0.6018 GB, free: 1.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.3464, allocations: 4 kB / 0.6018 GB, free: 1.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.3465, allocations: 322.8 kB / 0.6021 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3466, allocations: 27.98 kB / 0.6021 GB, free: 1.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.3466, allocations: 19.98 kB / 0.6021 GB, free: 1.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3468, allocations: 48.84 kB / 0.6022 GB, free: 1.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3468, allocations: 0 / 0.6022 GB, free: 1.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001625/0.3469, allocations: 93.56 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.347, allocations: 4 kB / 0.6023 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.347, allocations: 4 kB / 0.6023 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.347, allocations: 0 / 0.6023 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.347, allocations: 15.94 kB / 0.6023 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3471, allocations: 4 kB / 0.6023 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.3471, allocations: 7.984 kB / 0.6023 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3471, allocations: 0 / 0.6023 GB, free: 1.07 MB / 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 (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 6.383e-05/0.3472, allocations: 122.2 kB / 0.6024 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3472, allocations: 7.906 kB / 0.6024 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.3474, allocations: 102 kB / 0.6025 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3474, allocations: 0 / 0.6025 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3474, allocations: 0 / 0.6025 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3474, allocations: 4.297 kB / 0.6025 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.3478, allocations: 362.4 kB / 0.6029 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3478, allocations: 0 / 0.6029 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.3479, allocations: 15.98 kB / 0.6029 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3479, allocations: 0 / 0.6029 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.3479, allocations: 0 / 0.6029 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3479, allocations: 4 kB / 0.6029 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3479, allocations: 0 / 0.6029 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3481, allocations: 187.3 kB / 0.6031 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3481, allocations: 96.94 kB / 0.6032 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3481, allocations: 0 / 0.6032 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.3482, allocations: 8 kB / 0.6032 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.3483, allocations: 7.922 kB / 0.6032 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3483, allocations: 4 kB / 0.6032 GB, free: 68 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.3483, allocations: 114.5 kB / 0.6033 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3484, allocations: 3.938 kB / 0.6033 GB, free: 15.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.3486, allocations: 15.98 kB / 0.6033 GB, free: 15.94 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.0007507/0.3493, allocations: 401.7 kB / 0.6037 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.3495, allocations: 59.91 kB / 0.6038 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3495, allocations: 0 / 0.6038 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.3496, allocations: 27.97 kB / 0.6038 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3498, allocations: 8 kB / 0.6038 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.3501, allocations: 180.6 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3503, allocations: 0.6926 MB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.3504, allocations: 15.97 kB / 0.6047 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3504, allocations: 15.38 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3504, allocations: 0 / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of Templates: time 0.00268/0.3531, allocations: 1.032 MB / 0.6057 GB, free: 13.63 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches