Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009959/0.0009959, allocations: 101.6 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3187/0.3187, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2975, allocations: 62.01 MB / 0.5151 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001889/0.2995, allocations: 0.598 MB / 0.5157 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.3003, allocations: 432.3 kB / 0.5161 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.3003, allocations: 4 kB / 0.5161 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.3004, allocations: 0 / 0.5161 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.3004, allocations: 0 / 0.5161 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3008, allocations: 112.1 kB / 0.5163 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.3009, allocations: 22.48 kB / 0.5163 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3009, allocations: 2.438 kB / 0.5163 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.301, allocations: 13.88 kB / 0.5163 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.301, allocations: 26.64 kB / 0.5163 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3011, allocations: 6.656 kB / 0.5163 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.3013, allocations: 158.3 kB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.3014, allocations: 6.969 kB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3014, allocations: 20.98 kB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3016, allocations: 130.9 kB / 0.5166 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3016, allocations: 0 / 0.5166 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3016, allocations: 0 / 0.5166 GB, free: 37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.3017, allocations: 0 / 0.5166 GB, free: 37 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.0003483/0.302, allocations: 355.7 kB / 0.517 GB, free: 36.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3021, allocations: 8.156 kB / 0.517 GB, free: 36.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.3021, allocations: 15.72 kB / 0.517 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.3022, allocations: 170.5 kB / 0.5172 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3022, allocations: 3.125 kB / 0.5172 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3023, allocations: 7.406 kB / 0.5172 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3024, allocations: 61.83 kB / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3024, allocations: 10.78 kB / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3024, allocations: 0 / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3024, allocations: 0 / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.3025, allocations: 51.19 kB / 0.5173 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3026, allocations: 176.4 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3027, allocations: 90.38 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.3028, allocations: 31.22 kB / 0.5176 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.303, allocations: 101.8 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.303, allocations: 34.5 kB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.103e-06/0.303, allocations: 4 kB / 0.5177 GB, free: 35.96 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.1395/0.4425, allocations: 5.624 MB / 0.5232 GB, free: 35.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4426, allocations: 54 kB / 0.5232 GB, free: 35.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.4426, allocations: 93.86 kB / 0.5233 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4427, allocations: 32.27 kB / 0.5234 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.4427, allocations: 80.52 kB / 0.5234 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.4428, allocations: 72.14 kB / 0.5235 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.4429, allocations: 58.88 kB / 0.5236 GB, free: 34.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.4429, allocations: 324 kB / 0.5239 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.4432, allocations: 118.7 kB / 0.524 GB, free: 34.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.4436, allocations: 112.5 kB / 0.5241 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.4449, allocations: 327.4 kB / 0.5244 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4449, allocations: 0 / 0.5244 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001106/0.446, allocations: 357.8 kB / 0.5247 GB, free: 34.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.446, allocations: 5.875 kB / 0.5248 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.446, allocations: 3.938 kB / 0.5248 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4461, allocations: 3.797 kB / 0.5248 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.4464, allocations: 79.42 kB / 0.5248 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4465, allocations: 2.844 kB / 0.5248 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4466, allocations: 27.56 kB / 0.5249 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4467, allocations: 24.59 kB / 0.5249 GB, free: 34.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/0.4468, allocations: 114.5 kB / 0.525 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.4468, allocations: 9.625 kB / 0.525 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.4481, allocations: 436.1 kB / 0.5254 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4482, allocations: 2.844 kB / 0.5254 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4482, allocations: 4.703 kB / 0.5254 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4482, allocations: 7.516 kB / 0.5254 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.4502, allocations: 0.7821 MB / 0.5262 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4502, allocations: 0 / 0.5262 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.4505, allocations: 73.83 kB / 0.5263 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4505, allocations: 4 kB / 0.5263 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4505, allocations: 19.8 kB / 0.5263 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4505, allocations: 3.281 kB / 0.5263 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4505, allocations: 0 / 0.5263 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.452, allocations: 1.068 MB / 0.5273 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.452, allocations: 85.39 kB / 0.5274 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4521, allocations: 3.641 kB / 0.5274 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4522, allocations: 26.16 kB / 0.5274 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.4523, allocations: 17.98 kB / 0.5275 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.4523, allocations: 14.47 kB / 0.5275 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.967e-05/0.4523, allocations: 82.86 kB / 0.5276 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4523, allocations: 0 / 0.5276 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001565/0.4539, allocations: 0.6264 MB / 0.5282 GB, free: 32.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003047/0.457, allocations: 295.8 kB / 0.5285 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.4577, allocations: 256 kB / 0.5287 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4578, allocations: 0 / 0.5287 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.4581, allocations: 133.8 kB / 0.5288 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4584, allocations: 17.38 kB / 0.5288 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.4593, allocations: 0.5114 MB / 0.5293 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.4595, allocations: 0.699 MB / 0.53 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.4598, allocations: 82.02 kB / 0.5301 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4599, allocations: 47.86 kB / 0.5301 GB, free: 31.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4599, allocations: 0 / 0.5301 GB, free: 31.37 MB / 378.7 MB Notification: Performance of Templates: time 0.05678/0.5167, allocations: 53.84 MB / 0.5827 GB, free: 3.871 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches