Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 177.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.000852, allocations: 86.22 kB / 261.7 MB, free: 1.695 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.2047/0.2047, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.629e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4838, allocations: 83.61 MB / 0.5476 GB, free: 9.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4841, allocations: 62.36 kB / 0.5476 GB, free: 9.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004473/0.4886, allocations: 1.761 MB / 0.5493 GB, free: 8.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4886, allocations: 0 / 0.5493 GB, free: 8.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4886, allocations: 7.906 kB / 0.5494 GB, free: 8.715 MB / 362.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.0002904/0.4889, allocations: 358.7 kB / 0.5497 GB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.489, allocations: 11.78 kB / 0.5497 GB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.489, allocations: 7.859 kB / 0.5497 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.4892, allocations: 167.7 kB / 0.5499 GB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4892, allocations: 0 / 0.5499 GB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.4892, allocations: 3.906 kB / 0.5499 GB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.4893, allocations: 25.55 kB / 0.5499 GB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.4894, allocations: 49.7 kB / 0.55 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4894, allocations: 4 kB / 0.55 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4894, allocations: 0 / 0.55 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4895, allocations: 3.938 kB / 0.55 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.4896, allocations: 153.4 kB / 0.5501 GB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.4898, allocations: 48.48 kB / 0.5502 GB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.4899, allocations: 27.73 kB / 0.5502 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.4901, allocations: 113 kB / 0.5503 GB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4902, allocations: 34.38 kB / 0.5503 GB, free: 7.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.4902, allocations: 0 / 0.5503 GB, free: 7.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0365/0.5267, allocations: 2.094 MB / 0.5524 GB, free: 6.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.5267, allocations: 51.41 kB / 0.5524 GB, free: 6.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.5268, allocations: 100.5 kB / 0.5525 GB, free: 5.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5268, allocations: 29.7 kB / 0.5525 GB, free: 5.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.5269, allocations: 84.14 kB / 0.5526 GB, free: 5.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.5269, allocations: 61.17 kB / 0.5527 GB, free: 5.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.527, allocations: 0 / 0.5527 GB, free: 5.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.527, allocations: 326.3 kB / 0.553 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5272, allocations: 141.3 kB / 0.5531 GB, free: 5.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5273, allocations: 138.5 kB / 0.5533 GB, free: 5.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.5278, allocations: 191.8 kB / 0.5534 GB, free: 5.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5278, allocations: 0 / 0.5534 GB, free: 5.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006732/0.5284, allocations: 419.5 kB / 0.5538 GB, free: 4.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5285, allocations: 8 kB / 0.5538 GB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5285, allocations: 0 / 0.5538 GB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5285, allocations: 0 / 0.5538 GB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.5289, allocations: 75.94 kB / 0.5539 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5289, allocations: 0 / 0.5539 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.5291, allocations: 31.91 kB / 0.5539 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.5291, allocations: 15.98 kB / 0.554 GB, free: 4.781 MB / 362.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 8.537e-05/0.5292, allocations: 108.9 kB / 0.5541 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.5293, allocations: 7.906 kB / 0.5541 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/0.5302, allocations: 0.4884 MB / 0.5546 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5302, allocations: 0 / 0.5546 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.5302, allocations: 3.938 kB / 0.5546 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5302, allocations: 0 / 0.5546 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.5319, allocations: 0.8348 MB / 0.5554 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5319, allocations: 0 / 0.5554 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.5322, allocations: 72.08 kB / 0.5554 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5322, allocations: 8 kB / 0.5554 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.5322, allocations: 19.94 kB / 0.5555 GB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5322, allocations: 4 kB / 0.5555 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5322, allocations: 0 / 0.5555 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.5328, allocations: 488.2 kB / 0.5559 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.5329, allocations: 85.02 kB / 0.556 GB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.5329, allocations: 11.94 kB / 0.556 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.5331, allocations: 23.97 kB / 0.5561 GB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.5331, allocations: 15.94 kB / 0.5561 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.5332, allocations: 19.92 kB / 0.5561 GB, free: 2.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.324e-05/0.5332, allocations: 91.47 kB / 0.5562 GB, free: 2.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5332, allocations: 0 / 0.5562 GB, free: 2.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008943/0.5341, allocations: 335.7 kB / 0.5565 GB, free: 2.309 MB / 362.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.001158/0.5353, allocations: 269.8 kB / 0.5567 GB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.5356, allocations: 262.9 kB / 0.557 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5356, allocations: 0 / 0.557 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.5358, allocations: 110.5 kB / 0.5571 GB, free: 1.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.536, allocations: 12.31 kB / 0.5571 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.5369, allocations: 360.2 kB / 0.5575 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.5371, allocations: 0.6926 MB / 0.5581 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.5374, allocations: 96.88 kB / 0.5582 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5376, allocations: 47.41 kB / 0.5583 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5376, allocations: 0 / 0.5583 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of Templates: time 0.01331/0.5509, allocations: 7.648 MB / 0.5657 GB, free: 8.957 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches