Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.3 MB / 236 MB, free: 2.969 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.0008323/0.0008324, allocations: 98.91 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1783/0.1783, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.618e-05, allocations: 8.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4708, allocations: 85.39 MB / 0.5851 GB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.471, allocations: 67.95 kB / 0.5851 GB, free: 3.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004973/0.476, allocations: 1.776 MB / 0.5869 GB, free: 2.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.476, allocations: 0 / 0.5869 GB, free: 2.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.476, allocations: 6.953 kB / 0.5869 GB, free: 2.129 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003252/0.4764, allocations: 354.4 kB / 0.5872 GB, free: 1.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4764, allocations: 8.031 kB / 0.5872 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.4765, allocations: 7.906 kB / 0.5872 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.4766, allocations: 171.5 kB / 0.5874 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4766, allocations: 4 kB / 0.5874 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4766, allocations: 8 kB / 0.5874 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4768, allocations: 53.62 kB / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4768, allocations: 0 / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4768, allocations: 7.984 kB / 0.5875 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4768, allocations: 4.75 kB / 0.5875 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.4769, allocations: 23.98 kB / 0.5875 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.4771, allocations: 173.5 kB / 0.5877 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.4773, allocations: 58.55 kB / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.4773, allocations: 32.86 kB / 0.5878 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.4776, allocations: 105.1 kB / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.4776, allocations: 30.56 kB / 0.5879 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.4776, allocations: 0 / 0.5879 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0359/0.5135, allocations: 2.071 MB / 0.5899 GB, free: 14.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.5136, allocations: 51.41 kB / 0.59 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.5137, allocations: 105 kB / 0.5901 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.5137, allocations: 29.7 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.5138, allocations: 80.14 kB / 0.5902 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.5138, allocations: 59.11 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.5139, allocations: 4 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.514, allocations: 322.8 kB / 0.5905 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.5142, allocations: 136 kB / 0.5907 GB, free: 14.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5144, allocations: 147.9 kB / 0.5908 GB, free: 13.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.5148, allocations: 162.3 kB / 0.591 GB, free: 13.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5148, allocations: 4 kB / 0.591 GB, free: 13.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00069/0.5155, allocations: 397.4 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5155, allocations: 4 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5155, allocations: 0 / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5155, allocations: 0 / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5159, allocations: 75.94 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5159, allocations: 0 / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5161, allocations: 23.98 kB / 0.5914 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.5162, allocations: 23.98 kB / 0.5915 GB, free: 13.2 MB / 410.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 (19): * Single equations (assignments): 19 * 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 0.0001005/0.5163, allocations: 112.9 kB / 0.5916 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.5163, allocations: 7.906 kB / 0.5916 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009395/0.5173, allocations: 484.2 kB / 0.592 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5173, allocations: 4 kB / 0.592 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5173, allocations: 4 kB / 0.592 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5173, allocations: 0 / 0.592 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.5191, allocations: 0.8598 MB / 0.5929 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5192, allocations: 0 / 0.5929 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.5194, allocations: 80.33 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.5195, allocations: 0 / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.5195, allocations: 23.92 kB / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.5195, allocations: 7.953 kB / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5195, allocations: 3.938 kB / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.5202, allocations: 462.7 kB / 0.5934 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.5202, allocations: 93 kB / 0.5935 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.5202, allocations: 0 / 0.5935 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.5205, allocations: 27.98 kB / 0.5936 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5205, allocations: 23.88 kB / 0.5936 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.5205, allocations: 19.98 kB / 0.5936 GB, free: 10.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.5206, allocations: 79.28 kB / 0.5937 GB, free: 10.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5206, allocations: 0 / 0.5937 GB, free: 10.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008697/0.5215, allocations: 351.6 kB / 0.594 GB, free: 10.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00121/0.5227, allocations: 266.8 kB / 0.5943 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.5232, allocations: 271.9 kB / 0.5945 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5232, allocations: 0 / 0.5945 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.5234, allocations: 115.9 kB / 0.5946 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.5235, allocations: 13.34 kB / 0.5946 GB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5246, allocations: 361.2 kB / 0.595 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.5248, allocations: 0.7007 MB / 0.5957 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.5252, allocations: 88.89 kB / 0.5958 GB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5254, allocations: 59.33 kB / 0.5958 GB, free: 8.473 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5254, allocations: 4 kB / 0.5958 GB, free: 8.469 MB / 410.7 MB Notification: Performance of Templates: time 0.01205/0.5374, allocations: 7.61 MB / 0.6032 GB, free: 0.8945 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches