Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.002015/0.002015, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002217/0.002217, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2259/0.2259, allocations: 46.96 MB / 360.9 MB, free: 4.117 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3167, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001649/0.3183, allocations: 495.4 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3203, allocations: 1.358 MB / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.3203, allocations: 3.938 kB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.3203, allocations: 0 / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.3203, allocations: 4 kB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.321, allocations: 211.4 kB / 0.5631 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.3211, allocations: 11.98 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.3212, allocations: 4 kB / 0.5631 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.3212, allocations: 3.984 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.3213, allocations: 4 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3213, allocations: 7.938 kB / 0.5631 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.3218, allocations: 259.6 kB / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.3218, allocations: 0 / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.3218, allocations: 7.938 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3221, allocations: 146 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3221, allocations: 0 / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3221, allocations: 0 / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3221, allocations: 0 / 0.5635 GB, free: 1.676 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.0003939/0.3225, allocations: 258.2 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3225, allocations: 12.03 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3225, allocations: 4.938 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3227, allocations: 110.5 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3227, allocations: 384 / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.3227, allocations: 384 / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3228, allocations: 67.69 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3228, allocations: 0 / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3228, allocations: 0 / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3228, allocations: 0 / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.3228, allocations: 7.938 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.323, allocations: 97.33 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.323, allocations: 22.61 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.3231, allocations: 4.859 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3231, allocations: 0 / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3231, allocations: 42.55 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3231, allocations: 0 / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.3232, allocations: 41.58 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3233, allocations: 55.41 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.3234, allocations: 89.86 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3234, allocations: 25.7 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3234, allocations: 88.39 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3234, allocations: 3.953 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3235, allocations: 13.7 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3236, allocations: 318.8 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.3236, allocations: 0 / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.3236, allocations: 0 / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.3236, allocations: 8.859 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3236, allocations: 0 / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.954e-05/0.3237, allocations: 41.62 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3237, allocations: 4.094 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3237, allocations: 7.938 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3237, allocations: 4 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.3238, allocations: 0 / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3238, allocations: 3.938 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.3238, allocations: 0 / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3238, allocations: 8 kB / 0.5648 GB, free: 188 kB / 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 8.477e-05/0.3239, allocations: 113.8 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-06/0.3239, allocations: 0 / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.3241, allocations: 52.72 kB / 0.5649 GB, free: 0 / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.3241, allocations: 4.047 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3241, allocations: 0 / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3241, allocations: 0 / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.334e-05/0.3242, allocations: 97.33 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3242, allocations: 7.938 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3242, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3242, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3242, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3242, allocations: 3.938 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3242, allocations: 4.031 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.927e-05/0.3243, allocations: 61.14 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.3243, allocations: 7.922 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.3243, allocations: 0 / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.3243, allocations: 3.938 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.3244, allocations: 4 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3244, allocations: 0 / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.3244, allocations: 79.28 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3244, allocations: 3.938 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3246, allocations: 44.05 kB / 0.5652 GB, free: 15.64 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.0002636/0.3249, allocations: 139.2 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.325, allocations: 8 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.325, allocations: 0 / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.325, allocations: 33.69 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.3252, allocations: 2.5 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.3254, allocations: 85 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.3255, allocations: 55.34 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.3255, allocations: 8.125 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.3255, allocations: 7.438 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3255, allocations: 0 / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Templates: time 0.003558/0.329, allocations: 1.081 MB / 0.5666 GB, free: 14.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.047696005553007]