Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 182.2 kB / 17.41 MB, free: 4.285 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.276/1.276, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0006875/0.0006874, allocations: 89.03 kB / 271.9 MB, free: 8.246 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.3091/0.3091, allocations: 43.55 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 19.98 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.4174, allocations: 86.42 MB / 0.5643 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4177, allocations: 73.91 kB / 0.5644 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.4277, allocations: 3.933 MB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4278, allocations: 0 / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.4278, allocations: 0 / 0.5682 GB, free: 11.89 MB / 394.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.0004285/0.4282, allocations: 414.6 kB / 0.5686 GB, free: 11.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4283, allocations: 8.031 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.4283, allocations: 8.844 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4285, allocations: 200.8 kB / 0.5688 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4286, allocations: 4.375 kB / 0.5688 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.4286, allocations: 384 / 0.5688 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4287, allocations: 54.23 kB / 0.5689 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4287, allocations: 4.188 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4288, allocations: 3.938 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4288, allocations: 4 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.4289, allocations: 31.2 kB / 0.5689 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.4292, allocations: 286.9 kB / 0.5692 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.4295, allocations: 50.5 kB / 0.5693 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.4295, allocations: 16.94 kB / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4295, allocations: 0 / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.4296, allocations: 34.56 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.4296, allocations: 3.938 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.4301, allocations: 157.5 kB / 0.5695 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4302, allocations: 51.41 kB / 0.5695 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4304, allocations: 210.2 kB / 0.5697 GB, free: 10.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4304, allocations: 25.7 kB / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4305, allocations: 104 kB / 0.5698 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.4305, allocations: 19.8 kB / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4305, allocations: 0 / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4306, allocations: 322.8 kB / 0.5702 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.4307, allocations: 27.98 kB / 0.5702 GB, free: 9.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.4308, allocations: 19.98 kB / 0.5702 GB, free: 9.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4309, allocations: 48.84 kB / 0.5702 GB, free: 9.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4309, allocations: 0 / 0.5702 GB, free: 9.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.4311, allocations: 93.56 kB / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4311, allocations: 4 kB / 0.5703 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4311, allocations: 0 / 0.5703 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4311, allocations: 4.812 kB / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.4312, allocations: 15.98 kB / 0.5704 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4312, allocations: 0 / 0.5704 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.4313, allocations: 12 kB / 0.5704 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.4313, allocations: 4 kB / 0.5704 GB, free: 9.484 MB / 394.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 9.852e-05/0.4314, allocations: 137.7 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4314, allocations: 11.91 kB / 0.5705 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.4316, allocations: 106.1 kB / 0.5706 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4317, allocations: 64 / 0.5706 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4317, allocations: 4 kB / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4317, allocations: 4.219 kB / 0.5706 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.4321, allocations: 370.5 kB / 0.571 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4321, allocations: 4 kB / 0.571 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.4322, allocations: 12.75 kB / 0.571 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4322, allocations: 0 / 0.571 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4322, allocations: 7.969 kB / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4322, allocations: 0 / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4322, allocations: 0 / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.4324, allocations: 191.3 kB / 0.5712 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.4325, allocations: 97 kB / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4325, allocations: 0 / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.4326, allocations: 11.94 kB / 0.5713 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.4327, allocations: 7.922 kB / 0.5713 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4327, allocations: 4 kB / 0.5713 GB, free: 8.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.4328, allocations: 159.8 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4328, allocations: 3.938 kB / 0.5715 GB, free: 8.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.4331, allocations: 16 kB / 0.5715 GB, free: 8.262 MB / 394.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.00125/0.4344, allocations: 413.2 kB / 0.5719 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.4347, allocations: 51.91 kB / 0.5719 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4347, allocations: 4 kB / 0.5719 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4348, allocations: 23.98 kB / 0.5719 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4353, allocations: 15.98 kB / 0.572 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.4359, allocations: 277 kB / 0.5722 GB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4362, allocations: 0.7004 MB / 0.5729 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.4363, allocations: 19.44 kB / 0.5729 GB, free: 6.812 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4363, allocations: 0 / 0.5729 GB, free: 6.812 MB / 394.7 MB Notification: Performance of Templates: time 0.00422/0.4406, allocations: 1.53 MB / 0.5744 GB, free: 5.289 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches