Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008453, allocations: 95.05 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.601e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.5138, allocations: 87.21 MB / 0.5798 GB, free: 9.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5141, allocations: 79.94 kB / 0.5799 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009475/0.5236, allocations: 3.637 MB / 0.5835 GB, free: 5.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5237, allocations: 0 / 0.5835 GB, free: 5.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5237, allocations: 8 kB / 0.5835 GB, free: 5.621 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.0003335/0.524, allocations: 362.8 kB / 0.5838 GB, free: 5.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5241, allocations: 15.98 kB / 0.5838 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5241, allocations: 7.906 kB / 0.5838 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.5243, allocations: 190.9 kB / 0.584 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5244, allocations: 0 / 0.584 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5244, allocations: 4 kB / 0.584 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.32e-05/0.5245, allocations: 15.89 kB / 0.584 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/0.5245, allocations: 37.69 kB / 0.5841 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5246, allocations: 4 kB / 0.5841 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.5246, allocations: 4 kB / 0.5841 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5246, allocations: 0 / 0.5841 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.5249, allocations: 245.5 kB / 0.5843 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.525, allocations: 38.47 kB / 0.5844 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.5251, allocations: 8.859 kB / 0.5844 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5251, allocations: 7.938 kB / 0.5844 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.5251, allocations: 38.56 kB / 0.5844 GB, free: 4.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5251, allocations: 0 / 0.5844 GB, free: 4.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003537/0.5255, allocations: 97.41 kB / 0.5845 GB, free: 4.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.5255, allocations: 51.41 kB / 0.5845 GB, free: 4.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5257, allocations: 131.2 kB / 0.5847 GB, free: 4.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5257, allocations: 25.7 kB / 0.5847 GB, free: 4.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.5257, allocations: 96.12 kB / 0.5848 GB, free: 4.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5258, allocations: 19.72 kB / 0.5848 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5258, allocations: 0 / 0.5848 GB, free: 4.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.5259, allocations: 318.8 kB / 0.5851 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.5259, allocations: 8 kB / 0.5851 GB, free: 3.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.5259, allocations: 12.06 kB / 0.5851 GB, free: 3.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.5259, allocations: 8.844 kB / 0.5851 GB, free: 3.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5259, allocations: 0 / 0.5851 GB, free: 3.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.37e-05/0.526, allocations: 61.64 kB / 0.5852 GB, free: 3.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5261, allocations: 8 kB / 0.5852 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5261, allocations: 4 kB / 0.5852 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5261, allocations: 0 / 0.5852 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.5262, allocations: 15.94 kB / 0.5852 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5262, allocations: 0 / 0.5852 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.5262, allocations: 7.984 kB / 0.5852 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.5262, allocations: 7.922 kB / 0.5852 GB, free: 3.609 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 () * 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 6.084e-05/0.5263, allocations: 109 kB / 0.5853 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.5263, allocations: 7.859 kB / 0.5854 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.5265, allocations: 70.08 kB / 0.5854 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5265, allocations: 0 / 0.5854 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5265, allocations: 0 / 0.5854 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5265, allocations: 4 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.5268, allocations: 303 kB / 0.5857 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5268, allocations: 4 kB / 0.5857 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.5268, allocations: 15.98 kB / 0.5857 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5269, allocations: 4 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5269, allocations: 0 / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5269, allocations: 0 / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5269, allocations: 4.078 kB / 0.5857 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.527, allocations: 159.8 kB / 0.5859 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.5271, allocations: 96.89 kB / 0.586 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5271, allocations: 0 / 0.586 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.5272, allocations: 8 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.5272, allocations: 7.984 kB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.5272, allocations: 0 / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.371e-05/0.5273, allocations: 107.3 kB / 0.5861 GB, free: 2.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5273, allocations: 0 / 0.5861 GB, free: 2.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.5275, allocations: 15.94 kB / 0.5861 GB, free: 2.621 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 () * 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.0007028/0.5282, allocations: 332.4 kB / 0.5864 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.5283, allocations: 24 kB / 0.5865 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5283, allocations: 0 / 0.5865 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.5284, allocations: 20.06 kB / 0.5865 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.5286, allocations: 7.984 kB / 0.5865 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.5289, allocations: 111.7 kB / 0.5866 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.5291, allocations: 0.6885 MB / 0.5873 GB, free: 1.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.5292, allocations: 16.17 kB / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.5292, allocations: 11.44 kB / 0.5873 GB, free: 1.43 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5292, allocations: 0 / 0.5873 GB, free: 1.43 MB / 394.7 MB Notification: Performance of Templates: time 0.00298/0.5322, allocations: 0.9965 MB / 0.5883 GB, free: 448 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches