Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001419/0.001419, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001547/0.001547, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.502/1.502, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.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.2585/0.2585, allocations: 46.96 MB / 361.6 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 83.86 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3271, allocations: 66.08 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001982/0.329, allocations: 0.4954 MB / 0.5624 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3313, allocations: 1.346 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.3314, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3314, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.3314, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.3322, allocations: 229 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.3323, allocations: 4 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.3323, allocations: 4 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.3324, allocations: 4 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.3324, allocations: 3.984 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3324, allocations: 0 / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.333, allocations: 259.6 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.333, allocations: 4 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.333, allocations: 3.938 kB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3333, allocations: 143.4 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3333, allocations: 4 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3333, allocations: 0 / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3333, allocations: 0 / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004148/0.3337, allocations: 261 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3337, allocations: 12.03 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.3338, allocations: 8.891 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.3339, allocations: 102.5 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3339, allocations: 4.375 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3339, allocations: 4.375 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3341, allocations: 63.7 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3341, allocations: 0 / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3341, allocations: 7.938 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3341, allocations: 0 / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.3341, allocations: 15.94 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3345, allocations: 188.6 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.3346, allocations: 18.52 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.3346, allocations: 12.8 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3346, allocations: 4.062 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3346, allocations: 30.56 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3346, allocations: 0 / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.3348, allocations: 41.64 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3348, allocations: 51.41 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.3349, allocations: 101.8 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3349, allocations: 25.7 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.335, allocations: 92.02 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.335, allocations: 3.953 kB / 0.5653 GB, free: 312 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.335, allocations: 13.72 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3352, allocations: 314.8 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.3352, allocations: 7.984 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.3352, allocations: 18.58 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.3353, allocations: 34.77 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3353, allocations: 3.938 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.942e-05/0.3354, allocations: 49.62 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3354, allocations: 4 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3354, allocations: 0 / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3354, allocations: 4 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.3355, allocations: 4 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3355, allocations: 4.094 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.3355, allocations: 4 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.3355, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001061/0.3356, allocations: 121.7 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3356, allocations: 0 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.3357, allocations: 44.94 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3357, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3357, allocations: 32 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3358, allocations: 7.984 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3359, allocations: 101.3 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3359, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.3359, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3359, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3359, allocations: 4 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3359, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3359, allocations: 3.938 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.336, allocations: 143.4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.336, allocations: 3.953 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.336, allocations: 4.031 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.3361, allocations: 4 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.3361, allocations: 0 / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3361, allocations: 0 / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.3362, allocations: 83.27 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3362, allocations: 0 / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3365, allocations: 39.94 kB / 0.5663 GB, free: 15.19 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000285/0.3367, allocations: 131.2 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.3368, allocations: 24.02 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3368, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.3369, allocations: 29.7 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3371, allocations: 10.33 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.3374, allocations: 106.8 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.954e-05/0.3374, allocations: 55.36 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.3375, allocations: 11.44 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3375, allocations: 0 / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.003013/0.3405, allocations: 0.9292 MB / 0.5676 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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: 7.453851762693375]