Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001354/0.001354, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001413/0.001413, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.489/1.489, allocations: 177 MB / 204.1 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2103/0.2103, allocations: 34.26 MB / 294.8 MB, free: 14.56 MB / 286.1 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.72e-05, allocations: 2.281 kB / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001422/0.001449, allocations: 0.5323 MB / 443.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004233/0.001873, allocations: 147.4 kB / 443.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.001906, allocations: 0 / 443.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.001922, allocations: 3.938 kB / 443.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.00217, allocations: 35.83 kB / 443.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.002175, allocations: 0 / 443.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.00224, allocations: 27.86 kB / 443.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.002283, allocations: 4 kB / 443.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.002317, allocations: 11.92 kB / 443.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.002377, allocations: 15.92 kB / 443.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.002394, allocations: 4 kB / 443.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.002511, allocations: 43.95 kB / 443.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.002532, allocations: 11.91 kB / 443.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.002548, allocations: 3.938 kB / 443.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.002671, allocations: 43.88 kB / 443.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002673, allocations: 3.938 kB / 443.5 MB, free: 4.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002674, allocations: 4 kB / 443.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.002677, allocations: 4 kB / 443.5 MB, free: 4.461 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003258/0.003003, allocations: 270.2 kB / 443.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.003045, allocations: 8.625 kB / 443.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.00308, allocations: 0.9375 kB / 443.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.003191, allocations: 109.7 kB / 443.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003204, allocations: 384 / 443.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.003216, allocations: 4.375 kB / 443.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003358, allocations: 66.17 kB / 444 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003367, allocations: 192 / 444 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.003377, allocations: 384 / 444 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003381, allocations: 384 / 444 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.003498, allocations: 59.89 kB / 444 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.003664, allocations: 117.3 kB / 444.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.003826, allocations: 78.52 kB / 444.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.003881, allocations: 28.84 kB / 444.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.004125, allocations: 19.98 kB / 444.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.004161, allocations: 30.56 kB / 444.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.004164, allocations: 3.984 kB / 444.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002538/0.004418, allocations: 101.8 kB / 444.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.004467, allocations: 59.41 kB / 444.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.004547, allocations: 97.8 kB / 444.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.004565, allocations: 25.7 kB / 444.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.004601, allocations: 84.52 kB / 444.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.004647, allocations: 35.69 kB / 444.7 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.004692, allocations: 21.72 kB / 444.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.004827, allocations: 318.8 kB / 445 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.004861, allocations: 15.94 kB / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.004901, allocations: 27.92 kB / 445.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.005001, allocations: 44.86 kB / 445.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.005003, allocations: 4.125 kB / 445.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001414/0.005144, allocations: 89.61 kB / 445.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.005156, allocations: 4 kB / 445.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00516, allocations: 0 / 445.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.005173, allocations: 0 / 445.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.005281, allocations: 16 kB / 445.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.005289, allocations: 7.984 kB / 445.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.005319, allocations: 7.891 kB / 445.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.005327, allocations: 4 kB / 445.3 MB, free: 2.559 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 (10): * Single equations (assignments): 10 * 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 8.636e-05/0.005414, allocations: 117.8 kB / 445.4 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.005427, allocations: 8 kB / 445.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.005633, allocations: 101.6 kB / 445.5 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.005637, allocations: 4.375 kB / 445.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.00564, allocations: 0 / 445.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.005647, allocations: 7.875 kB / 445.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.00576, allocations: 121.2 kB / 445.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005761, allocations: 3.938 kB / 445.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.005831, allocations: 16 kB / 445.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005833, allocations: 0 / 445.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00584, allocations: 3.938 kB / 445.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.005842, allocations: 4 kB / 445.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005842, allocations: 0 / 445.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.006002, allocations: 121 kB / 445.8 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.006012, allocations: 7.953 kB / 445.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.006024, allocations: 0 / 445.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.006049, allocations: 0 / 445.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.006069, allocations: 7.984 kB / 445.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.00608, allocations: 8 kB / 445.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.006118, allocations: 75.28 kB / 445.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006118, allocations: 0 / 445.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.006329, allocations: 23.86 kB / 445.9 MB, free: 1.871 MB / 366.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 (10): * Single equations (assignments): 10 * 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.000134/0.006463, allocations: 107.3 kB / 446 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.0066, allocations: 51.92 kB / 446 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006601, allocations: 0 / 446 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.00665, allocations: 27.92 kB / 446.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.006791, allocations: 8 kB / 446.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.007128, allocations: 136.8 kB / 446.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.007188, allocations: 63.81 kB / 446.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.007224, allocations: 19.92 kB / 446.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.007251, allocations: 12.5 kB / 446.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.007252, allocations: 0 / 446.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of Templates: time 0.00328/0.01053, allocations: 0.6229 MB / 446.9 MB, free: 0.7812 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.952962327748537]