Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001292/0.001292, 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.001387/0.001387, 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.411/1.411, 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.2268/0.2268, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002381/0.002381, allocations: 80.14 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3083, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002211/0.3105, allocations: 0.4899 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3135, allocations: 1.416 MB / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.3135, allocations: 4 kB / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.3135, allocations: 0 / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.3136, allocations: 0 / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3146, allocations: 223.3 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.3147, allocations: 11.98 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.3147, allocations: 0 / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.3147, allocations: 7.938 kB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.3148, allocations: 7.938 kB / 0.5633 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3148, allocations: 4 kB / 0.5633 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.3155, allocations: 287.5 kB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.3155, allocations: 0 / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.3156, allocations: 0 / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3158, allocations: 154.4 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3158, allocations: 0 / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3158, allocations: 0 / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3159, allocations: 3.938 kB / 0.5637 GB, free: 2.414 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.0004432/0.3163, allocations: 331.4 kB / 0.564 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.3164, allocations: 8.031 kB / 0.564 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3164, allocations: 16.89 kB / 0.5641 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3166, allocations: 160.4 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3166, allocations: 384 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3166, allocations: 384 / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3168, allocations: 46 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3168, allocations: 0 / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3168, allocations: 0 / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3168, allocations: 0 / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.3168, allocations: 7.938 kB / 0.5643 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.3174, allocations: 244.9 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.3174, allocations: 18.58 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.3175, allocations: 8.922 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3175, allocations: 0 / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.3175, allocations: 30.56 kB / 0.5646 GB, free: 1.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3175, allocations: 0 / 0.5646 GB, free: 1.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002069/0.3177, allocations: 45.62 kB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3178, allocations: 51.41 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3179, allocations: 97.86 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3179, allocations: 25.7 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.318, allocations: 88.03 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.318, allocations: 3.953 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.318, allocations: 21.7 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3182, allocations: 315.1 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.3182, allocations: 4 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.3183, allocations: 18.58 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.23e-05/0.3184, allocations: 34.44 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3184, allocations: 0 / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001178/0.3185, allocations: 49.64 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3185, allocations: 8 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3185, allocations: 0 / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3185, allocations: 3.938 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.3186, allocations: 7.984 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3186, allocations: 11.92 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.3186, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3186, allocations: 0 / 0.5653 GB, free: 0.5508 MB / 398.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.0001181/0.3188, allocations: 121.8 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.3188, allocations: 0 / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.3189, allocations: 44.81 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3189, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.319, allocations: 4.094 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.319, allocations: 85.09 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.319, allocations: 0 / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.3191, allocations: 4.031 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3191, allocations: 3.938 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001017/0.3192, allocations: 120.9 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000168/0.3194, allocations: 198.8 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.779e-05/0.3194, allocations: 4 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.3194, allocations: 87.33 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.3194, allocations: 0 / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007901/0.3202, allocations: 122.2 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005577/0.3208, allocations: 0.566 MB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.005172/0.326, allocations: 1.099 MB / 0.5677 GB, free: 13.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.848898460157216]