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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001002/0.001007, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 79.75 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.1003, allocations: 62.44 MB / 481.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001548/0.1019, allocations: 0.5338 MB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.1026, allocations: 405.4 kB / 482.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.1026, allocations: 0 / 482.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.1027, allocations: 3.938 kB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.071e-05/0.1027, allocations: 4 kB / 482.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1031, allocations: 139.5 kB / 482.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.1032, allocations: 31.92 kB / 482.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1032, allocations: 4 kB / 482.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.1033, allocations: 15.92 kB / 482.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.1033, allocations: 23.91 kB / 482.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1033, allocations: 4 kB / 482.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.1036, allocations: 163.8 kB / 482.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1036, allocations: 7.875 kB / 482.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1037, allocations: 23.86 kB / 482.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1039, allocations: 123.7 kB / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1039, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1039, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1039, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 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.0003872/0.1043, allocations: 359.6 kB / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1043, allocations: 12.03 kB / 483.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1044, allocations: 8.844 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1045, allocations: 168.3 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1045, allocations: 4.375 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1045, allocations: 12.31 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1047, allocations: 69.67 kB / 483.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1047, allocations: 7.844 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1047, allocations: 8 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1047, allocations: 0 / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.1048, allocations: 39.95 kB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.105, allocations: 181.6 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1051, allocations: 78.55 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.1052, allocations: 36.78 kB / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.1054, allocations: 101.1 kB / 484 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1055, allocations: 38.56 kB / 484 MB, free: 1.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.1055, allocations: 3.984 kB / 484 MB, free: 1.824 MB / 350.1 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.1177/0.2232, allocations: 5.621 MB / 489.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2233, allocations: 59.41 kB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.2234, allocations: 89.86 kB / 489.8 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2234, allocations: 33.7 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.2235, allocations: 80.52 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.2236, allocations: 78.84 kB / 490 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.2237, allocations: 57.67 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2238, allocations: 326.8 kB / 490.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.2241, allocations: 112 kB / 490.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.2244, allocations: 111.9 kB / 490.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.2257, allocations: 331.4 kB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2257, allocations: 0 / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001085/0.2268, allocations: 349.2 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2269, allocations: 4 kB / 491.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2269, allocations: 3.984 kB / 491.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2269, allocations: 4 kB / 491.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.2273, allocations: 83.86 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2273, allocations: 4 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.2275, allocations: 23.97 kB / 491.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.2275, allocations: 19.91 kB / 491.4 MB, free: 10.38 MB / 366.1 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 0.0001019/0.2276, allocations: 117.8 kB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2277, allocations: 11.91 kB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.2289, allocations: 434.6 kB / 491.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.229, allocations: 3.938 kB / 491.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.229, allocations: 4 kB / 491.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.229, allocations: 0 / 491.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.2311, allocations: 0.7723 MB / 492.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2311, allocations: 7.938 kB / 492.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.2314, allocations: 79.86 kB / 492.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2314, allocations: 0 / 492.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.2314, allocations: 23.92 kB / 492.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2314, allocations: 0 / 492.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2315, allocations: 8.062 kB / 492.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2325, allocations: 420.7 kB / 493.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.2326, allocations: 85.02 kB / 493.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.2326, allocations: 4 kB / 493.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2328, allocations: 23.97 kB / 493.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2329, allocations: 23.91 kB / 493.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.2329, allocations: 16 kB / 493.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.2329, allocations: 75.28 kB / 493.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 0 / 493.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001454/0.2344, allocations: 0.6327 MB / 494.1 MB, free: 7.539 MB / 366.1 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.003053/0.2375, allocations: 287 kB / 494.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.2382, allocations: 255.8 kB / 494.6 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2382, allocations: 0 / 494.6 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.2385, allocations: 139.9 kB / 494.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2388, allocations: 11.09 kB / 494.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.2397, allocations: 335.2 kB / 495.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.2399, allocations: 0.6931 MB / 495.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.2401, allocations: 77.08 kB / 495.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2403, allocations: 51.39 kB / 495.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2403, allocations: 0 / 495.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of Templates: time 0.2202/0.4605, allocations: 53.86 MB / 0.5369 GB, free: 20.51 MB / 382.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches