Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001684/0.001684, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00222/0.00222, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.437/1.437, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2211/0.2211, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 79.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 65.99 MB / 0.5612 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001733/0.3466, allocations: 0.4977 MB / 0.5617 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3487, allocations: 1.416 MB / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.3487, allocations: 0 / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.3487, allocations: 0 / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.525e-05/0.3487, allocations: 4 kB / 0.5631 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3495, allocations: 223.3 kB / 0.5633 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.3495, allocations: 8 kB / 0.5633 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3496, allocations: 4 kB / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.3496, allocations: 11.91 kB / 0.5633 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.3496, allocations: 4 kB / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3496, allocations: 0 / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.3501, allocations: 279.6 kB / 0.5636 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3501, allocations: 3.984 kB / 0.5636 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.3501, allocations: 0 / 0.5636 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3504, allocations: 162.3 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3504, allocations: 0 / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3504, allocations: 0 / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3504, allocations: 0 / 0.5637 GB, free: 2.461 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004381/0.3509, allocations: 335.3 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3509, allocations: 8.031 kB / 0.564 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.3509, allocations: 4.938 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3511, allocations: 168.4 kB / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3511, allocations: 384 / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.3511, allocations: 384 / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3512, allocations: 42.02 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3512, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3512, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3512, allocations: 0 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.3512, allocations: 4 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.3514, allocations: 149.6 kB / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.3515, allocations: 22.61 kB / 0.5644 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.3515, allocations: 8.859 kB / 0.5644 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.3515, allocations: 0 / 0.5644 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3515, allocations: 38.56 kB / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3515, allocations: 0 / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.3517, allocations: 37.62 kB / 0.5645 GB, free: 1.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.3517, allocations: 51.41 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.3518, allocations: 97.98 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3518, allocations: 29.83 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3519, allocations: 84.08 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.3519, allocations: 3.953 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.3519, allocations: 13.72 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3521, allocations: 318.8 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.3521, allocations: 4 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.3521, allocations: 0 / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.3521, allocations: 16.86 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3521, allocations: 0 / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.914e-05/0.3522, allocations: 33.64 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3522, allocations: 11.94 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3522, allocations: 0 / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3522, allocations: 0 / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.3523, allocations: 7.984 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3523, allocations: 0 / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3523, allocations: 0 / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3523, allocations: 0 / 0.5651 GB, free: 0.7773 MB / 398.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 (1): * Single equations (assignments): 1 * 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 9.577e-05/0.3524, allocations: 113.9 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3524, allocations: 7.938 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.3525, allocations: 44.81 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3525, allocations: 0 / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3525, allocations: 0 / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3526, allocations: 81.05 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.3526, allocations: 7.969 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.3527, allocations: 4 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3527, allocations: 0 / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.881e-05/0.3528, allocations: 117 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001443/0.3529, allocations: 206.8 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.038e-05/0.3529, allocations: 8 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.353, allocations: 83.27 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.353, allocations: 0 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.3535, allocations: 118.3 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005375/0.354, allocations: 0.566 MB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.003875/0.3579, allocations: 1.113 MB / 0.5675 GB, free: 14.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.84573170915246]