Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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 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 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) 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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001516/0.001516, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.17 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00302/0.12, allocations: 1.552 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1207, allocations: 411.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.1208, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.121, allocations: 19.86 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1212, allocations: 35.84 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1215, allocations: 115.2 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1217, allocations: 55.84 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1218, allocations: 19.98 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1218, allocations: 23.86 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.1219, allocations: 19.86 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1219, allocations: 4 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.122, allocations: 28 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.122, allocations: 19.91 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1221, allocations: 19.88 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1223, allocations: 71.8 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1223, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1223, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1223, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 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.000428/0.1227, allocations: 375.2 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1228, allocations: 8.031 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1228, allocations: 12.78 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.123, allocations: 189.8 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.123, allocations: 4.375 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.123, allocations: 4.375 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1232, allocations: 57.81 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1232, allocations: 3.906 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1232, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1232, allocations: 3.984 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.1233, allocations: 27.91 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1237, allocations: 284.9 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1239, allocations: 42.5 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1239, allocations: 20.94 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.124, allocations: 0 / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.124, allocations: 38.5 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.124, allocations: 0 / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004996/0.1245, allocations: 145.4 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1245, allocations: 59.34 kB / 474.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1247, allocations: 145.8 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1247, allocations: 25.7 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1248, allocations: 92.14 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1248, allocations: 11.8 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1248, allocations: 21.72 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1249, allocations: 326.8 kB / 474.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.125, allocations: 19.98 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.1251, allocations: 19.98 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1252, allocations: 52.83 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1252, allocations: 0 / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.1254, allocations: 89.56 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1254, allocations: 7.938 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1254, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1254, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.1255, allocations: 15.98 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1255, allocations: 0 / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.1256, allocations: 4 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1256, allocations: 3.938 kB / 475.1 MB, free: 8.953 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.1257, allocations: 125.7 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1257, allocations: 11.89 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1259, allocations: 98.22 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1259, allocations: 3.938 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1259, allocations: 0 / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1259, allocations: 0 / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1263, allocations: 350.5 kB / 475.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1263, allocations: 4 kB / 475.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.1264, allocations: 11.98 kB / 475.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1264, allocations: 4 kB / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1264, allocations: 0 / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1264, allocations: 3.938 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1264, allocations: 0 / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.1266, allocations: 191.4 kB / 475.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1267, allocations: 81.02 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1267, allocations: 0 / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1268, allocations: 7.938 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1268, allocations: 11.92 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1268, allocations: 0 / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.1269, allocations: 107.3 kB / 476.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1269, allocations: 0 / 476.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1271, allocations: 19.98 kB / 476.2 MB, free: 7.836 MB / 350.1 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 (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.0008418/0.128, allocations: 402.6 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1282, allocations: 59.89 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1282, allocations: 0 / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1283, allocations: 23.98 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1286, allocations: 23.62 kB / 476.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.129, allocations: 181.4 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1292, allocations: 0.6885 MB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1293, allocations: 15.97 kB / 477.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1293, allocations: 15.44 kB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1293, allocations: 3.938 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of Templates: time 0.003181/0.1325, allocations: 1.082 MB / 478.6 MB, free: 5.457 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches