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.002271/0.002271, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 89.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2993/0.2993, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.847e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4457, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.6072, allocations: 85.63 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6075, allocations: 71.97 kB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.624, allocations: 3.996 MB / 0.5535 GB, free: 9.621 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.624, allocations: 0 / 0.5535 GB, free: 9.621 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.6241, allocations: 7.938 kB / 0.5535 GB, free: 9.613 MB / 395.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.0005273/0.6246, allocations: 390.2 kB / 0.5539 GB, free: 9.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6247, allocations: 12.03 kB / 0.5539 GB, free: 9.176 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.6247, allocations: 11.81 kB / 0.5539 GB, free: 9.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.6251, allocations: 202.8 kB / 0.5541 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6251, allocations: 4 kB / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.6252, allocations: 4 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.09e-05/0.6252, allocations: 11.94 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.6254, allocations: 45.62 kB / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6254, allocations: 0 / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6254, allocations: 0 / 0.5542 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.6254, allocations: 4 kB / 0.5542 GB, free: 8.852 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.6259, allocations: 273.4 kB / 0.5544 GB, free: 8.547 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.6261, allocations: 34.58 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.6262, allocations: 16.8 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6262, allocations: 3.984 kB / 0.5545 GB, free: 8.48 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6262, allocations: 30.56 kB / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.6263, allocations: 0 / 0.5545 GB, free: 8.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.6268, allocations: 121.3 kB / 0.5546 GB, free: 8.316 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6268, allocations: 63.3 kB / 0.5547 GB, free: 8.242 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.6272, allocations: 209.8 kB / 0.5549 GB, free: 8.023 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.6272, allocations: 25.7 kB / 0.5549 GB, free: 7.992 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.6273, allocations: 174.5 kB / 0.5551 GB, free: 7.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.6274, allocations: 15.66 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.6274, allocations: 0 / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6275, allocations: 314.8 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.6276, allocations: 12 kB / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.6276, allocations: 8 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.6277, allocations: 12.14 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6277, allocations: 0 / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001277/0.6278, allocations: 53.7 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6278, allocations: 4 kB / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.6278, allocations: 0 / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6279, allocations: 0 / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.628, allocations: 15.98 kB / 0.5555 GB, free: 7.379 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.628, allocations: 0 / 0.5555 GB, free: 7.379 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.6281, allocations: 19.88 kB / 0.5555 GB, free: 7.359 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.6281, allocations: 4 kB / 0.5555 GB, free: 7.355 MB / 395.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 () * 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.799e-05/0.6282, allocations: 101 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.6283, allocations: 11.91 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.6285, allocations: 71.3 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6285, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6285, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6285, allocations: 8 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.6291, allocations: 334.9 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6291, allocations: 0 / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6292, allocations: 15.98 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6292, allocations: 0 / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.6292, allocations: 0 / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6292, allocations: 384 / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6293, allocations: 3.938 kB / 0.556 GB, free: 6.766 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6295, allocations: 171.4 kB / 0.5562 GB, free: 6.582 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.6296, allocations: 100.9 kB / 0.5563 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.6296, allocations: 0 / 0.5563 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6298, allocations: 8 kB / 0.5563 GB, free: 6.457 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.6298, allocations: 7.922 kB / 0.5563 GB, free: 6.449 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.6299, allocations: 4 kB / 0.5563 GB, free: 6.445 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.6301, allocations: 175.2 kB / 0.5565 GB, free: 6.273 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6301, allocations: 4 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.6305, allocations: 23.95 kB / 0.5565 GB, free: 6.246 MB / 395.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 () * 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.00101/0.6315, allocations: 334 kB / 0.5568 GB, free: 5.957 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.6316, allocations: 24 kB / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6316, allocations: 3.938 kB / 0.5568 GB, free: 5.93 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.6317, allocations: 19.94 kB / 0.5569 GB, free: 5.91 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.632, allocations: 24.02 kB / 0.5569 GB, free: 5.883 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.6326, allocations: 202.2 kB / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.633, allocations: 0.7119 MB / 0.5578 GB, free: 4.918 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.633, allocations: 15.44 kB / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6331, allocations: 0 / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of Templates: time 0.004896/0.638, allocations: 1.653 MB / 0.5594 GB, free: 3.254 MB / 395.1 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/jenkins1/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