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.001039/0.001039, allocations: 97.98 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 204.1 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1905/0.1905, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.000237, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005414/0.1044, allocations: 234.8 kB / 483.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.1047, allocations: 94.34 kB / 483.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.1047, allocations: 4 kB / 483.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1047, allocations: 4 kB / 483.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.579e-05/0.1047, allocations: 0 / 483.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1049, allocations: 19.91 kB / 483.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.1049, allocations: 8 kB / 483.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.105, allocations: 0 / 483.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.105, allocations: 11.98 kB / 483.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.1051, allocations: 3.938 kB / 483.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1051, allocations: 4 kB / 483.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.1052, allocations: 27.97 kB / 483.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1052, allocations: 11.98 kB / 483.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1052, allocations: 33.64 kB / 483.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.497e-05/0.1053, allocations: 23.89 kB / 483.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1053, allocations: 0 / 483.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1053, allocations: 3.938 kB / 483.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1053, allocations: 0 / 483.5 MB, free: 3.672 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.0003266/0.1057, allocations: 327.6 kB / 483.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1057, allocations: 12.88 kB / 483.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.1057, allocations: 0.9375 kB / 483.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1058, allocations: 164.4 kB / 484 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1059, allocations: 384 / 484 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1059, allocations: 8.375 kB / 484 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.106, allocations: 55.91 kB / 484.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.106, allocations: 192 / 484.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.106, allocations: 3.938 kB / 484.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.106, allocations: 0 / 484.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.1061, allocations: 15.98 kB / 484.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.1064, allocations: 329.2 kB / 484.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.1064, allocations: 30.52 kB / 484.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.1065, allocations: 20.94 kB / 484.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1065, allocations: 0 / 484.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1065, allocations: 34.56 kB / 484.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1065, allocations: 0 / 484.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.1067, allocations: 61.61 kB / 484.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1067, allocations: 51.41 kB / 484.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.1068, allocations: 93.86 kB / 484.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1068, allocations: 25.7 kB / 484.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.1069, allocations: 88.12 kB / 484.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.1069, allocations: 11.81 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.1069, allocations: 9.719 kB / 484.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.107, allocations: 319 kB / 485.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.107, allocations: 7.984 kB / 485.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.1071, allocations: 21.72 kB / 485.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.1071, allocations: 25.66 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1071, allocations: 0 / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.301e-05/0.1072, allocations: 61.62 kB / 485.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1072, allocations: 8.031 kB / 485.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1072, allocations: 3.938 kB / 485.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1073, allocations: 0 / 485.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.1073, allocations: 15.92 kB / 485.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1073, allocations: 0 / 485.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.1074, allocations: 7.906 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1074, allocations: 0 / 485.3 MB, free: 1.648 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.653e-05/0.1075, allocations: 114.3 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1075, allocations: 7.938 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1076, allocations: 61.31 kB / 485.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1076, allocations: 7.984 kB / 485.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1076, allocations: 0 / 485.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1077, allocations: 3.938 kB / 485.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1078, allocations: 165.5 kB / 485.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1078, allocations: 0 / 485.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1078, allocations: 8 kB / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1079, allocations: 0 / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.1079, allocations: 0 / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1079, allocations: 0 / 485.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1079, allocations: 4 kB / 485.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.108, allocations: 151.5 kB / 485.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.108, allocations: 81.02 kB / 485.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.1081, allocations: 0 / 485.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.1081, allocations: 8 kB / 485.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1081, allocations: 3.984 kB / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1081, allocations: 0 / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.1082, allocations: 87.22 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1082, allocations: 0 / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1084, allocations: 4 kB / 486 MB, free: 0.8555 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.0001095/0.1085, allocations: 103.2 kB / 486.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.1086, allocations: 23.98 kB / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1086, allocations: 0 / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.1087, allocations: 15.94 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.1089, allocations: 7.938 kB / 486.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.1091, allocations: 114.8 kB / 486.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1093, allocations: 0.677 MB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.1093, allocations: 4.25 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1094, allocations: 7.438 kB / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1094, allocations: 0 / 487 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Templates: time 0.002249/0.1116, allocations: 436.7 kB / 487.4 MB, free: 15.42 MB / 366.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