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.0018/0.0018, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00217/0.00217, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2223/0.2223, allocations: 46.94 MB / 360.8 MB, free: 3.953 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.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.002439/0.002439, allocations: 87.86 kB / 0.4966 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.328, allocations: 66.09 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001684/0.3297, allocations: 497.6 kB / 0.5616 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3318, allocations: 1.362 MB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.3318, allocations: 0 / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.3318, allocations: 0 / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.173e-05/0.3318, allocations: 0 / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.3325, allocations: 215.3 kB / 0.5632 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.228e-05/0.3326, allocations: 11.92 kB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3326, allocations: 0 / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.3326, allocations: 4 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.3327, allocations: 11.98 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3327, allocations: 0 / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.3332, allocations: 255.6 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.3332, allocations: 3.938 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3332, allocations: 7.938 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3334, allocations: 143.4 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3334, allocations: 0 / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3334, allocations: 0 / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3334, allocations: 0 / 0.5636 GB, free: 1.496 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.0003818/0.3338, allocations: 261 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3339, allocations: 12.03 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.3339, allocations: 8.891 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/0.334, allocations: 102.5 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.334, allocations: 384 / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.334, allocations: 4.375 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3341, allocations: 67.7 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3341, allocations: 0 / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3342, allocations: 0 / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3342, allocations: 0 / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.3342, allocations: 15.94 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.3345, allocations: 188.6 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.3346, allocations: 22.52 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.3346, allocations: 4.859 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3346, allocations: 4.062 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3346, allocations: 30.56 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.3346, allocations: 0 / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.3348, allocations: 41.64 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3348, allocations: 51.41 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.3349, allocations: 97.84 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3349, allocations: 33.83 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.335, allocations: 96.03 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.335, allocations: 3.953 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.335, allocations: 13.72 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3352, allocations: 314.8 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.3352, allocations: 7.984 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.3352, allocations: 22.56 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.3352, allocations: 26.52 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3352, allocations: 7.938 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.444e-05/0.3353, allocations: 49.62 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3353, allocations: 6.188 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3353, allocations: 0 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3354, allocations: 4 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.3354, allocations: 4 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3354, allocations: 0 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.3354, allocations: 4 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3354, allocations: 4 kB / 0.565 GB, free: 15.83 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 8.72e-05/0.3355, allocations: 119 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.3355, allocations: 8.094 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3357, allocations: 40.86 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3357, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.3357, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3357, allocations: 7.984 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3358, allocations: 105.2 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.3358, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3358, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3358, allocations: 4.031 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.3358, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3358, allocations: 4 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3358, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3359, allocations: 139.4 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.3359, allocations: 3.953 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3359, allocations: 0 / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.336, allocations: 4 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.336, allocations: 0 / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.336, allocations: 0 / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.3361, allocations: 91.23 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3361, allocations: 0 / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3364, allocations: 39.94 kB / 0.5656 GB, free: 15.21 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.000258/0.3366, allocations: 127.2 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.3367, allocations: 19.92 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3367, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.3368, allocations: 37.64 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.337, allocations: 8.281 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.3372, allocations: 81.05 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.3372, allocations: 55.36 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.3373, allocations: 0 / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.3373, allocations: 11.44 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3373, allocations: 0 / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of Templates: time 0.003706/0.341, allocations: 1.073 MB / 0.5669 GB, free: 13.74 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/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: 5.065880035981536]