Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 214.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.039 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 67.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3233, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001796/0.325, allocations: 0.4915 MB / 0.5623 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.3254, allocations: 103.7 kB / 0.5624 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.3254, allocations: 0 / 0.5624 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3254, allocations: 0 / 0.5624 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3256, allocations: 19.92 kB / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.603e-05/0.3257, allocations: 0 / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.3257, allocations: 4 kB / 0.5624 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.3258, allocations: 7.969 kB / 0.5624 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.3258, allocations: 7.938 kB / 0.5624 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.3258, allocations: 7.922 kB / 0.5624 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3258, allocations: 4 kB / 0.5624 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.3259, allocations: 23.98 kB / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.3259, allocations: 0 / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.3259, allocations: 0 / 0.5625 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.326, allocations: 23.56 kB / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.326, allocations: 0 / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.326, allocations: 0 / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.326, allocations: 0 / 0.5625 GB, free: 3.48 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.0003547/0.3264, allocations: 245.1 kB / 0.5627 GB, free: 3.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3264, allocations: 12.02 kB / 0.5627 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.3265, allocations: 4.938 kB / 0.5627 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3266, allocations: 106.5 kB / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3266, allocations: 384 / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3266, allocations: 4.375 kB / 0.5628 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.3267, allocations: 34.25 kB / 0.5629 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3267, allocations: 4.125 kB / 0.5629 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3267, allocations: 3.938 kB / 0.5629 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3267, allocations: 4 kB / 0.5629 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.3268, allocations: 11.94 kB / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3269, allocations: 97.33 kB / 0.563 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3271, allocations: 38.61 kB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.3271, allocations: 8.859 kB / 0.563 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.3274, allocations: 40.03 kB / 0.5631 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3275, allocations: 42.5 kB / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3275, allocations: 0 / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001212/0.3287, allocations: 193.3 kB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3287, allocations: 55.34 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.3288, allocations: 93.84 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3289, allocations: 25.7 kB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.3289, allocations: 84.14 kB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3289, allocations: 11.91 kB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.329, allocations: 13.72 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3291, allocations: 323 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.3292, allocations: 15.98 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.3293, allocations: 23.92 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3294, allocations: 44.83 kB / 0.5639 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3294, allocations: 0 / 0.5639 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.3296, allocations: 81.59 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3296, allocations: 8 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3296, allocations: 7.938 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3296, allocations: 0 / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3298, allocations: 12.23 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3298, allocations: 4 kB / 0.5641 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.3298, allocations: 11.98 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.3298, allocations: 0 / 0.5641 GB, free: 1.676 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 (5): * Single equations (assignments): 5 * 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.49e-05/0.3299, allocations: 109.8 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3299, allocations: 7.953 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.3302, allocations: 97.11 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3302, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3302, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3302, allocations: 4 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.3309, allocations: 295.2 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3309, allocations: 4.031 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/0.331, allocations: 15.98 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.331, allocations: 4.031 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.331, allocations: 3.984 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.331, allocations: 4 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.331, allocations: 0 / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3312, allocations: 176.3 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.3313, allocations: 7.953 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3313, allocations: 3.938 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.3314, allocations: 8 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3314, allocations: 11.92 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3314, allocations: 4 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.3314, allocations: 79.28 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3314, allocations: 0 / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3317, allocations: 11.94 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001205/0.3318, allocations: 95.23 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.332, allocations: 52 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.332, allocations: 0 / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.3321, allocations: 31.91 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3323, allocations: 7.938 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.3327, allocations: 151.6 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.3328, allocations: 67.28 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.3328, allocations: 7.438 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3328, allocations: 4.062 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of Templates: time 0.002206/0.335, allocations: 0.6686 MB / 0.5659 GB, free: 15.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.455895463936031]