Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 195.9 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.0007692, allocations: 96.52 kB / 295.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2868/0.2868, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.000264, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2763, allocations: 62.95 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005624/0.277, allocations: 265.8 kB / 0.5161 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005888/0.2776, allocations: 370.8 kB / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.2776, allocations: 0 / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2776, allocations: 3.938 kB / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.316e-05/0.2777, allocations: 0 / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.2781, allocations: 102.5 kB / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.2781, allocations: 25.06 kB / 0.5166 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.2782, allocations: 3.984 kB / 0.5166 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.2782, allocations: 15.83 kB / 0.5166 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.2783, allocations: 17.2 kB / 0.5166 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2783, allocations: 2.438 kB / 0.5166 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.2785, allocations: 159.5 kB / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2785, allocations: 10.64 kB / 0.5168 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.2786, allocations: 42.59 kB / 0.5168 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2787, allocations: 71.23 kB / 0.5169 GB, free: 36.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2787, allocations: 7.938 kB / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2787, allocations: 0 / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2787, allocations: 2 kB / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003107/0.2791, allocations: 353.3 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2791, allocations: 8.094 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.2791, allocations: 8.781 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.2792, allocations: 171.6 kB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2793, allocations: 6.906 kB / 0.5174 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.2793, allocations: 9.469 kB / 0.5175 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2794, allocations: 70.06 kB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2794, allocations: 3.938 kB / 0.5175 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2795, allocations: 7.922 kB / 0.5175 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2795, allocations: 2.562 kB / 0.5175 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.2795, allocations: 51.56 kB / 0.5176 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.2797, allocations: 168.3 kB / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2798, allocations: 84.73 kB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.2799, allocations: 30.78 kB / 0.5179 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.2801, allocations: 118.8 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2802, allocations: 30.56 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2802, allocations: 0 / 0.518 GB, free: 35.62 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1133/0.3935, allocations: 5.852 MB / 0.5237 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3936, allocations: 58.03 kB / 0.5238 GB, free: 34.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.3936, allocations: 89.86 kB / 0.5239 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3937, allocations: 32.8 kB / 0.5239 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.3937, allocations: 80.64 kB / 0.524 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.3937, allocations: 78.08 kB / 0.524 GB, free: 34.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.3938, allocations: 4 kB / 0.524 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.3938, allocations: 320.6 kB / 0.5243 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3941, allocations: 138.6 kB / 0.5245 GB, free: 34.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3944, allocations: 138.7 kB / 0.5246 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3957, allocations: 371.8 kB / 0.525 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3957, allocations: 0 / 0.525 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001042/0.3967, allocations: 396.3 kB / 0.5253 GB, free: 34.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3968, allocations: 5.625 kB / 0.5253 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3968, allocations: 0 / 0.5253 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3968, allocations: 3 kB / 0.5254 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.3972, allocations: 94.95 kB / 0.5254 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3972, allocations: 7.078 kB / 0.5254 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3974, allocations: 34.19 kB / 0.5255 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3974, allocations: 24.88 kB / 0.5255 GB, free: 34.05 MB / 378.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 (23): * Single equations (assignments): 23 * 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.73e-05/0.3975, allocations: 123.7 kB / 0.5256 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.3975, allocations: 6.812 kB / 0.5256 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.3988, allocations: 475.4 kB / 0.5261 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3988, allocations: 2.656 kB / 0.5261 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3988, allocations: 4 kB / 0.5261 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3989, allocations: 3.422 kB / 0.5261 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.4008, allocations: 0.8807 MB / 0.527 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4009, allocations: 0 / 0.527 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.4011, allocations: 92.22 kB / 0.527 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4011, allocations: 0.7031 kB / 0.527 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.4012, allocations: 11.53 kB / 0.5271 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4012, allocations: 2.562 kB / 0.5271 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4012, allocations: 0 / 0.5271 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4023, allocations: 476.4 kB / 0.5275 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.4023, allocations: 85.52 kB / 0.5276 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4024, allocations: 7.125 kB / 0.5276 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4025, allocations: 40.55 kB / 0.5276 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.4026, allocations: 14.47 kB / 0.5276 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4026, allocations: 19.53 kB / 0.5277 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.89e-05/0.4026, allocations: 75.28 kB / 0.5277 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4026, allocations: 4.094 kB / 0.5277 GB, free: 32.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001524/0.4042, allocations: 0.6278 MB / 0.5284 GB, free: 32.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003005/0.4072, allocations: 304.8 kB / 0.5286 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007878/0.408, allocations: 305.5 kB / 0.5289 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.408, allocations: 2.219 kB / 0.5289 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.4083, allocations: 155.4 kB / 0.5291 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4086, allocations: 11.88 kB / 0.5291 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.4095, allocations: 438.4 kB / 0.5295 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.4096, allocations: 0.6954 MB / 0.5302 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4098, allocations: 48.75 kB / 0.5302 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4098, allocations: 0 / 0.5302 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02239/0.4322, allocations: 14.19 MB / 0.5441 GB, free: 26.11 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches