Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 175.2 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0006836/0.0006836, allocations: 88.78 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.2796/0.2796, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 15.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09351, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001621/0.09518, allocations: 1.259 MB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004794/0.09567, allocations: 291.8 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.09572, allocations: 0 / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.09598, allocations: 107.8 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.09613, allocations: 63.84 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.09633, allocations: 59.86 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.09646, allocations: 67.81 kB / 492.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.09655, allocations: 15.98 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.09661, allocations: 31.91 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.09671, allocations: 55.81 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.09673, allocations: 0 / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.0968, allocations: 23.98 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.09686, allocations: 27.91 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.09691, allocations: 49.45 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.09703, allocations: 71.89 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09704, allocations: 0 / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.09704, allocations: 0 / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.09705, allocations: 0 / 492.9 MB, free: 8.523 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.0004088/0.09746, allocations: 403.2 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.0975, allocations: 12.03 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.09754, allocations: 12.75 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.0977, allocations: 204.1 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.09772, allocations: 4.312 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.09774, allocations: 4.375 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.09786, allocations: 49.81 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.09788, allocations: 4 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.0979, allocations: 4 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.0979, allocations: 0 / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.098, allocations: 23.98 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.09831, allocations: 288.8 kB / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.0985, allocations: 50.5 kB / 494 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.09856, allocations: 20.94 kB / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.09859, allocations: 0 / 494 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.09861, allocations: 34.5 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.09862, allocations: 0 / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000506/0.09913, allocations: 165.2 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.09917, allocations: 55.41 kB / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.09937, allocations: 234.7 kB / 494.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.0994, allocations: 29.7 kB / 494.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.09946, allocations: 112 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.09948, allocations: 19.73 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.09949, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.0996, allocations: 326.8 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.09967, allocations: 23.98 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.09974, allocations: 32.05 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.09986, allocations: 48.78 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.09987, allocations: 0 / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/0.1001, allocations: 97.56 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1001, allocations: 4 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1001, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1001, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.1002, allocations: 15.94 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1002, allocations: 0 / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.1002, allocations: 11.98 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1003, allocations: 4 kB / 495.2 MB, free: 6.055 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.182e-05/0.1003, allocations: 133.7 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1004, allocations: 15.81 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1006, allocations: 98.66 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1006, allocations: 4 kB / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1006, allocations: 0 / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1006, allocations: 0 / 495.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.101, allocations: 370.4 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.101, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1011, allocations: 19.98 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1011, allocations: 0 / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1011, allocations: 4.312 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1011, allocations: 7.938 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1011, allocations: 0 / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1013, allocations: 195.3 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1014, allocations: 81.02 kB / 496.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1014, allocations: 7.938 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.1015, allocations: 11.92 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1015, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1015, allocations: 4 kB / 496.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1016, allocations: 188.3 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 3.938 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.1019, allocations: 24 kB / 496.3 MB, free: 4.797 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.000733/0.1026, allocations: 386.9 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1028, allocations: 51.97 kB / 496.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1028, allocations: 4 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.1029, allocations: 31.92 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1032, allocations: 15.92 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1036, allocations: 291.2 kB / 497.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1038, allocations: 0.7082 MB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.1038, allocations: 11.44 kB / 497.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1039, allocations: 3.938 kB / 497.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of Templates: time 0.002693/0.1066, allocations: 1.536 MB / 499.3 MB, free: 1.758 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches