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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009061/0.0009061, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009861/0.0009861, allocations: 164.6 kB / 24.91 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9048/0.9048, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.49e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001822/0.001847, allocations: 0.5156 MB / 326.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.002156, allocations: 87.72 kB / 326.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.002179, allocations: 0 / 326.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.002195, allocations: 0 / 326.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.002222, allocations: 0 / 326.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.002439, allocations: 19.92 kB / 326.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002504, allocations: 20.55 kB / 326.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.002545, allocations: 3.984 kB / 326.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.002601, allocations: 7.984 kB / 326.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.002654, allocations: 4 kB / 326.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.00267, allocations: 0 / 326.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.002759, allocations: 31.91 kB / 326.6 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.002779, allocations: 7.984 kB / 326.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.002796, allocations: 3.938 kB / 326.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.002905, allocations: 27.95 kB / 326.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.002908, allocations: 4 kB / 326.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.002908, allocations: 0 / 326.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.002913, allocations: 0 / 326.6 MB, free: 6.445 MB / 298.7 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.0003244/0.003237, allocations: 230 kB / 326.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.003281, allocations: 8.031 kB / 326.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.003311, allocations: 4.922 kB / 326.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.003416, allocations: 113.7 kB / 327 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.003429, allocations: 384 / 327 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.003447, allocations: 12.36 kB / 327 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.003577, allocations: 64.67 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.003585, allocations: 4.188 kB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.003592, allocations: 384 / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.003598, allocations: 384 / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.003629, allocations: 11.88 kB / 327.1 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.003867, allocations: 232.8 kB / 327.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.003913, allocations: 18.58 kB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.003941, allocations: 9 kB / 327.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.003956, allocations: 3.984 kB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.003982, allocations: 38.56 kB / 327.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.003983, allocations: 4 kB / 327.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001257/0.004109, allocations: 45.62 kB / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.004149, allocations: 55.34 kB / 327.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.004221, allocations: 102.7 kB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.004233, allocations: 25.7 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.004275, allocations: 84.08 kB / 327.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.004295, allocations: 15.84 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.004335, allocations: 25.69 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.004466, allocations: 310.8 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.004481, allocations: 4.125 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.004507, allocations: 21.7 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.004551, allocations: 25.66 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.004554, allocations: 0 / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.411e-05/0.004638, allocations: 49.62 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.004656, allocations: 11.98 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004662, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.004674, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.004743, allocations: 11.94 kB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.004746, allocations: 0 / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.004765, allocations: 4.031 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.004772, allocations: 0 / 328.1 MB, free: 4.75 MB / 298.7 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 6.137e-05/0.004834, allocations: 113.8 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.004855, allocations: 0 / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.004958, allocations: 61.3 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.00496, allocations: 0 / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.004965, allocations: 7.938 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004968, allocations: 0 / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.005094, allocations: 66.8 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/0.005133, allocations: 4 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.005179, allocations: 15.98 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.005182, allocations: 240 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.005187, allocations: 0 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.005189, allocations: 0 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00519, allocations: 0 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.005301, allocations: 155.4 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-06/0.00531, allocations: 4 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.005319, allocations: 0 / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.005365, allocations: 0 / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.005391, allocations: 3.984 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.005397, allocations: 4 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.507e-05/0.005412, allocations: 20.78 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005412, allocations: 3.938 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.005631, allocations: 11.94 kB / 328.6 MB, free: 4.234 MB / 298.7 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.0001072/0.005738, allocations: 72.42 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.005816, allocations: 28.78 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.005821, allocations: 4 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.005842, allocations: 12.86 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.006005, allocations: 4.156 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.006239, allocations: 109.6 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.00628, allocations: 59.34 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.006306, allocations: 1 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.00635, allocations: 51.38 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.006351, allocations: 0 / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of Templates: time 0.002785/0.009136, allocations: 0.5368 MB / 329.5 MB, free: 3.312 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.597997636999935]