Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008546/0.008546, allocations: 103.6 kB / 21.97 MB, free: 5.211 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.002088/0.002088, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.434/1.434, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2318/0.2318, allocations: 46.92 MB / 362.3 MB, free: 4.207 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.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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [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.002373/0.002373, allocations: 79.88 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3274, allocations: 66.07 MB / 0.5627 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00197/0.3294, allocations: 0.5381 MB / 0.5632 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.3299, allocations: 159.5 kB / 0.5634 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.3299, allocations: 3.938 kB / 0.5634 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3299, allocations: 3.938 kB / 0.5634 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.3302, allocations: 39.83 kB / 0.5634 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.3302, allocations: 0 / 0.5634 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.3302, allocations: 27.92 kB / 0.5635 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.3303, allocations: 4 kB / 0.5635 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.736e-05/0.3303, allocations: 7.922 kB / 0.5635 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.3304, allocations: 15.92 kB / 0.5635 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3304, allocations: 4 kB / 0.5635 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3305, allocations: 47.95 kB / 0.5635 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3305, allocations: 3.984 kB / 0.5635 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.3305, allocations: 15.86 kB / 0.5636 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3306, allocations: 42.5 kB / 0.5636 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3306, allocations: 0 / 0.5636 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3306, allocations: 4 kB / 0.5636 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3306, allocations: 4 kB / 0.5636 GB, free: 3.359 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003323/0.331, allocations: 269.9 kB / 0.5639 GB, free: 3.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.331, allocations: 8.031 kB / 0.5639 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.331, allocations: 0.9375 kB / 0.5639 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3312, allocations: 110.5 kB / 0.564 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3312, allocations: 384 / 0.564 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.3312, allocations: 4.375 kB / 0.564 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3313, allocations: 66.11 kB / 0.564 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3313, allocations: 4.188 kB / 0.5641 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3314, allocations: 7.938 kB / 0.5641 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3314, allocations: 0 / 0.5641 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3315, allocations: 51.95 kB / 0.5641 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.3317, allocations: 140.7 kB / 0.5642 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3318, allocations: 78.56 kB / 0.5643 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3319, allocations: 24.86 kB / 0.5643 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.3321, allocations: 27.97 kB / 0.5644 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3321, allocations: 34.56 kB / 0.5644 GB, free: 2.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3321, allocations: 0 / 0.5644 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002671/0.3324, allocations: 109.7 kB / 0.5645 GB, free: 2.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3324, allocations: 51.41 kB / 0.5646 GB, free: 2.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.3325, allocations: 93.86 kB / 0.5646 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3325, allocations: 25.83 kB / 0.5647 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.3326, allocations: 84.14 kB / 0.5648 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3326, allocations: 35.69 kB / 0.5648 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.3327, allocations: 21.72 kB / 0.5648 GB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3329, allocations: 318.8 kB / 0.5651 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.3329, allocations: 19.94 kB / 0.5651 GB, free: 1.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.333, allocations: 20.36 kB / 0.5651 GB, free: 1.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.3331, allocations: 52.92 kB / 0.5652 GB, free: 1.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3331, allocations: 0 / 0.5652 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.3332, allocations: 97.56 kB / 0.5653 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3332, allocations: 4 kB / 0.5653 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3332, allocations: 7.938 kB / 0.5653 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3333, allocations: 0 / 0.5653 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3334, allocations: 16 kB / 0.5653 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3334, allocations: 0 / 0.5653 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.3334, allocations: 7.938 kB / 0.5653 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3334, allocations: 7.984 kB / 0.5653 GB, free: 1.41 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 (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 0.0001138/0.3335, allocations: 113.8 kB / 0.5654 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3336, allocations: 11.95 kB / 0.5655 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3338, allocations: 97.45 kB / 0.5655 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3338, allocations: 4 kB / 0.5655 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3338, allocations: 0 / 0.5655 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3338, allocations: 0 / 0.5655 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.334, allocations: 144.7 kB / 0.5657 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.334, allocations: 0 / 0.5657 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.334, allocations: 16 kB / 0.5657 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.334, allocations: 0 / 0.5657 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.334, allocations: 3.938 kB / 0.5657 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.334, allocations: 11.98 kB / 0.5657 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.334, allocations: 0 / 0.5657 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.3342, allocations: 109.1 kB / 0.5658 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.3342, allocations: 11.94 kB / 0.5658 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3343, allocations: 3.938 kB / 0.5658 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.3343, allocations: 3.984 kB / 0.5658 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.3343, allocations: 4 kB / 0.5658 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3343, allocations: 8 kB / 0.5659 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.3344, allocations: 79.28 kB / 0.5659 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3344, allocations: 0 / 0.5659 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3346, allocations: 15.98 kB / 0.5659 GB, free: 0.7031 MB / 398.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.0002112/0.3348, allocations: 111.1 kB / 0.566 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.335, allocations: 51.84 kB / 0.5661 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.335, allocations: 4 kB / 0.5661 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.335, allocations: 24 kB / 0.5661 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3352, allocations: 7.047 kB / 0.5661 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.3357, allocations: 174.6 kB / 0.5663 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3361, allocations: 0.6807 MB / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3361, allocations: 11.44 kB / 0.567 GB, free: 15.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3361, allocations: 0 / 0.567 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Templates: time 0.003026/0.3391, allocations: 0.8138 MB / 0.5678 GB, free: 14.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.154216643888503]