Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.56 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 62.44 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001613/0.1042, allocations: 0.5137 MB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002702/0.1045, allocations: 86.44 kB / 480.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.1046, allocations: 0 / 480.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1046, allocations: 3.938 kB / 480.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.754e-05/0.1046, allocations: 4 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1048, allocations: 23.91 kB / 480.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.1048, allocations: 4 kB / 480.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1049, allocations: 8 kB / 480.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.1049, allocations: 11.97 kB / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.105, allocations: 7.938 kB / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.105, allocations: 0 / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.1051, allocations: 31.97 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1051, allocations: 3.984 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.1051, allocations: 11.94 kB / 480.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1053, allocations: 19.97 kB / 480.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1053, allocations: 3.938 kB / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1053, allocations: 0 / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1053, allocations: 0 / 480.7 MB, free: 4.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003883/0.1057, allocations: 331.6 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1057, allocations: 12.03 kB / 481.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1058, allocations: 0.9375 kB / 481.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.1059, allocations: 164.4 kB / 481.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1059, allocations: 4.375 kB / 481.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1059, allocations: 384 / 481.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.106, allocations: 55.91 kB / 481.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.106, allocations: 4.188 kB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.106, allocations: 3.938 kB / 481.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1061, allocations: 0 / 481.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.1061, allocations: 15.98 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.1064, allocations: 329.2 kB / 481.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.1064, allocations: 30.64 kB / 481.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.1065, allocations: 20.84 kB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1065, allocations: 3.938 kB / 481.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1066, allocations: 34.56 kB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.1066, allocations: 0 / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000173/0.1067, allocations: 53.62 kB / 481.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1068, allocations: 51.41 kB / 481.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.1068, allocations: 97.86 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1069, allocations: 29.83 kB / 482 MB, free: 3.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.1069, allocations: 84.12 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.1069, allocations: 15.81 kB / 482.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.107, allocations: 13.72 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.1071, allocations: 314.8 kB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.1071, allocations: 7.984 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.1071, allocations: 21.72 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.1072, allocations: 29.66 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1072, allocations: 0 / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.899e-05/0.1073, allocations: 57.62 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1073, allocations: 15.92 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1073, allocations: 0 / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1073, allocations: 0 / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.1074, allocations: 11.94 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1074, allocations: 0 / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.1074, allocations: 3.906 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1074, allocations: 8.031 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.231e-05/0.1075, allocations: 113.8 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1076, allocations: 4.125 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.1077, allocations: 61.17 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1077, allocations: 4 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1077, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1077, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1079, allocations: 161.5 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1079, allocations: 0 / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1079, allocations: 19.94 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1079, allocations: 0 / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1079, allocations: 0 / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1079, allocations: 0 / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1079, allocations: 0 / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.1081, allocations: 151.5 kB / 483 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1081, allocations: 81.02 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1081, allocations: 0 / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.1082, allocations: 11.98 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1082, allocations: 4 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1082, allocations: 0 / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.1083, allocations: 83.22 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1083, allocations: 0 / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1085, allocations: 4 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001192/0.1086, allocations: 103.2 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1087, allocations: 24.14 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1087, allocations: 4 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.1088, allocations: 19.92 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.109, allocations: 10.34 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.1092, allocations: 108.9 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1094, allocations: 0.6768 MB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.1095, allocations: 8.234 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.1095, allocations: 11.44 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1095, allocations: 0 / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Templates: time 0.002294/0.1118, allocations: 456.8 kB / 484.6 MB, free: 292 kB / 350.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches