Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009498/0.0009494, allocations: 171.4 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006889/0.000689, allocations: 97.28 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.283/0.283, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 16 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09281, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001625/0.09448, allocations: 1.259 MB / 492.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.09498, allocations: 299.7 kB / 492.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.09503, allocations: 0 / 492.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.09527, allocations: 71.83 kB / 492.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.09542, allocations: 51.88 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.09562, allocations: 67.86 kB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.09574, allocations: 55.83 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.09583, allocations: 15.97 kB / 492.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.09588, allocations: 19.92 kB / 492.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.09597, allocations: 51.81 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.09599, allocations: 0 / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.09606, allocations: 28 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.0961, allocations: 15.92 kB / 492.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.09616, allocations: 49.5 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.09627, allocations: 59.91 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.09628, allocations: 0 / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09628, allocations: 0 / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.09629, allocations: 0 / 492.9 MB, free: 8.844 MB / 378.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.0003897/0.09669, allocations: 395.4 kB / 493.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.09672, allocations: 11.97 kB / 493.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.09676, allocations: 16.83 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.09693, allocations: 196.1 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.09694, allocations: 384 / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.09696, allocations: 384 / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.09709, allocations: 61.73 kB / 493.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.0971, allocations: 0 / 493.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.09712, allocations: 8 kB / 493.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.09713, allocations: 0 / 493.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.672e-05/0.09722, allocations: 27.98 kB / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.09753, allocations: 272.9 kB / 493.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.09771, allocations: 46.5 kB / 493.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.09777, allocations: 24.94 kB / 493.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.0978, allocations: 0 / 493.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.09782, allocations: 30.56 kB / 493.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.09783, allocations: 0 / 493.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004972/0.09833, allocations: 169.2 kB / 494.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.09837, allocations: 55.41 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.09855, allocations: 198.2 kB / 494.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.09857, allocations: 25.7 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.09863, allocations: 108.1 kB / 494.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.09866, allocations: 11.72 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.09867, allocations: 4 kB / 494.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09877, allocations: 326.8 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.09885, allocations: 27.92 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.09891, allocations: 19.98 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.09905, allocations: 60.77 kB / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.09906, allocations: 0 / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001849/0.09925, allocations: 85.58 kB / 495 MB, free: 6.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.09927, allocations: 11.59 kB / 495 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.09928, allocations: 4 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.0993, allocations: 0 / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.09936, allocations: 15.98 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.09938, allocations: 0 / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.09943, allocations: 11.92 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.09944, allocations: 4 kB / 495 MB, free: 6.441 MB / 378.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.869e-05/0.09953, allocations: 125.8 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.09957, allocations: 11.91 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.09979, allocations: 105.9 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.0998, allocations: 0 / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.09981, allocations: 4.312 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09982, allocations: 0 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.1002, allocations: 362.5 kB / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1002, allocations: 0 / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.1003, allocations: 15.98 kB / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1003, allocations: 0 / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1003, allocations: 4 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1003, allocations: 7.938 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1003, allocations: 0 / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1005, allocations: 187.3 kB / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1006, allocations: 85.02 kB / 495.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1006, allocations: 8 kB / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.1007, allocations: 11.92 kB / 495.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1007, allocations: 4 kB / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1007, allocations: 0 / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1008, allocations: 167.9 kB / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1008, allocations: 0 / 496.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.1011, allocations: 15.98 kB / 496.1 MB, free: 5.242 MB / 378.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.0007514/0.1018, allocations: 409.3 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.102, allocations: 51.97 kB / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.102, allocations: 0 / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.1021, allocations: 35.91 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1024, allocations: 15.94 kB / 496.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.1027, allocations: 258.9 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.103, allocations: 0.7004 MB / 497.6 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.103, allocations: 15.44 kB / 497.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.103, allocations: 0 / 497.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of Templates: time 0.002636/0.1057, allocations: 1.45 MB / 499 MB, free: 2.297 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches