Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.0008524/0.0008524, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003285/0.003285, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8693/0.8693, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2603/0.2603, allocations: 34.25 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.215e-05, allocations: 2.281 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001696/0.001728, allocations: 0.4919 MB / 443.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.002088, allocations: 95.66 kB / 444 MB, free: 500 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.002119, allocations: 4 kB / 444 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.002138, allocations: 0 / 444 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.002406, allocations: 19.92 kB / 444 MB, free: 476 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.287e-05/0.002429, allocations: 0 / 444 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.00249, allocations: 7.938 kB / 444 MB, free: 468 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.002541, allocations: 0 / 444 MB, free: 468 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.002582, allocations: 7.984 kB / 444 MB, free: 460 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.002629, allocations: 0 / 444 MB, free: 460 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.002645, allocations: 0 / 444 MB, free: 460 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.002739, allocations: 23.97 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.002754, allocations: 3.938 kB / 444.1 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002771, allocations: 4 kB / 444.1 MB, free: 428 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.002876, allocations: 23.91 kB / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.002879, allocations: 3.938 kB / 444.1 MB, free: 400 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.002881, allocations: 0 / 444.1 MB, free: 400 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.002885, allocations: 0 / 444.1 MB, free: 400 kB / 410.7 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.000314/0.003199, allocations: 246.4 kB / 444.3 MB, free: 120 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.003243, allocations: 8.031 kB / 444.3 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.003282, allocations: 4.891 kB / 444.3 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1817/0.185, allocations: 105.8 kB / 444.4 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.185, allocations: 384 / 444.4 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.185, allocations: 2.75 kB / 444.4 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1851, allocations: 39.83 kB / 444.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1851, allocations: 192 / 444.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1851, allocations: 1.094 kB / 444.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1852, allocations: 1.125 kB / 444.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.1852, allocations: 9.031 kB / 444.5 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.1853, allocations: 108.6 kB / 444.6 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1855, allocations: 39.19 kB / 444.6 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.1855, allocations: 9.328 kB / 444.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.1858, allocations: 39.77 kB / 444.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.1858, allocations: 34.72 kB / 444.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1858, allocations: 2.656 kB / 444.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007309/0.1865, allocations: 189.5 kB / 444.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1865, allocations: 53.86 kB / 445 MB, free: 43.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.1866, allocations: 93.45 kB / 445.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.1866, allocations: 26.33 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-06/0.1866, allocations: 84.09 kB / 445.2 MB, free: 43.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1866, allocations: 15.33 kB / 445.2 MB, free: 43.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1867, allocations: 17.62 kB / 445.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.1867, allocations: 319.2 kB / 445.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.1867, allocations: 21.38 kB / 445.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.1868, allocations: 25.23 kB / 445.6 MB, free: 43.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.1869, allocations: 48.7 kB / 445.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1869, allocations: 0 / 445.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001031/0.187, allocations: 70.59 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.187, allocations: 9.359 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.187, allocations: 0 / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.187, allocations: 3.875 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.1871, allocations: 17.52 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1871, allocations: 0 / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.1871, allocations: 9.594 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1871, allocations: 3.938 kB / 445.7 MB, free: 43.39 MB / 410.7 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 3.995e-05/0.1872, allocations: 112.1 kB / 445.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.1872, allocations: 0 / 445.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.1873, allocations: 95.48 kB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1873, allocations: 0 / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1873, allocations: 0.6562 kB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1873, allocations: 0 / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1877, allocations: 301.5 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1877, allocations: 5.469 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.1877, allocations: 19.98 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1878, allocations: 3.094 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1878, allocations: 0.5 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1878, allocations: 0 / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1878, allocations: 3.938 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1879, allocations: 183.2 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.1879, allocations: 6.531 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1879, allocations: 0 / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.1879, allocations: 11.98 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1879, allocations: 5.438 kB / 446.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.188, allocations: 6 kB / 446.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.979e-06/0.188, allocations: 75.28 kB / 446.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.188, allocations: 0 / 446.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.1881, allocations: 15.2 kB / 446.5 MB, free: 42.78 MB / 410.7 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.0001278/0.1882, allocations: 105.4 kB / 446.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1884, allocations: 46.33 kB / 446.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1884, allocations: 0 / 446.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1884, allocations: 30.09 kB / 446.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.1886, allocations: 2.656 kB / 446.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.1889, allocations: 154.3 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.1889, allocations: 64.17 kB / 446.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.189, allocations: 11.25 kB / 446.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.189, allocations: 0 / 446.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Templates: time 0.001684/0.1906, allocations: 0.6898 MB / 447.6 MB, free: 42.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.448133268393576]