Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 192 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2173/0.2173, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 495.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001877/0.3125, allocations: 0.5055 MB / 0.5469 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.3128, allocations: 113.5 kB / 0.547 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3129, allocations: 0 / 0.547 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.3129, allocations: 1.156 kB / 0.547 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.3131, allocations: 16.44 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.34e-05/0.3131, allocations: 1.094 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.3132, allocations: 6.281 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.3132, allocations: 1.156 kB / 0.547 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.3133, allocations: 6.281 kB / 0.547 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.3133, allocations: 9 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3133, allocations: 1.094 kB / 0.547 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.3134, allocations: 21.62 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.3134, allocations: 1.062 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.3135, allocations: 5.047 kB / 0.547 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.336e-05/0.3135, allocations: 21.25 kB / 0.5471 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3136, allocations: 0 / 0.5471 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.3136, allocations: 5.016 kB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3136, allocations: 0 / 0.5471 GB, free: 12.68 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.0003799/0.3139, allocations: 320.2 kB / 0.5474 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.314, allocations: 9.938 kB / 0.5474 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.314, allocations: 6.062 kB / 0.5474 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3141, allocations: 164.4 kB / 0.5475 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3141, allocations: 1.531 kB / 0.5475 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3142, allocations: 1.531 kB / 0.5475 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.3143, allocations: 34.83 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3143, allocations: 4.141 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3143, allocations: 5.062 kB / 0.5476 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3143, allocations: 7.938 kB / 0.5476 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.3143, allocations: 12.52 kB / 0.5476 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.3145, allocations: 153.1 kB / 0.5477 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3147, allocations: 30.92 kB / 0.5478 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.3147, allocations: 13.94 kB / 0.5478 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.3151, allocations: 113.5 kB / 0.5479 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3151, allocations: 31.75 kB / 0.5479 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3151, allocations: 3.938 kB / 0.5479 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001308/0.3164, allocations: 188.5 kB / 0.5481 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3164, allocations: 52.62 kB / 0.5482 GB, free: 11.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.3165, allocations: 94.89 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3165, allocations: 30.83 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.3166, allocations: 80.14 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3166, allocations: 14.2 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3167, allocations: 21.45 kB / 0.5484 GB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3168, allocations: 320.1 kB / 0.5487 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.3169, allocations: 19.52 kB / 0.5487 GB, free: 10.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.3169, allocations: 18.77 kB / 0.5487 GB, free: 10.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3171, allocations: 44.64 kB / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3171, allocations: 0 / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002047/0.3173, allocations: 78.91 kB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3173, allocations: 8.875 kB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3173, allocations: 4.766 kB / 0.5489 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3173, allocations: 4.984 kB / 0.5489 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3175, allocations: 13.52 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3175, allocations: 0.5625 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.3176, allocations: 12.48 kB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3176, allocations: 5.531 kB / 0.5489 GB, free: 10.81 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.409e-05/0.3177, allocations: 107.5 kB / 0.549 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.3177, allocations: 9.094 kB / 0.549 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3179, allocations: 91.05 kB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3179, allocations: 0 / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.318, allocations: 5.156 kB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.318, allocations: 0 / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/0.3187, allocations: 365.7 kB / 0.5494 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3187, allocations: 0 / 0.5494 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.3188, allocations: 18.08 kB / 0.5495 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3188, allocations: 1.25 kB / 0.5495 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3188, allocations: 1.344 kB / 0.5495 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3188, allocations: 1.688 kB / 0.5495 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3188, allocations: 0 / 0.5495 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3191, allocations: 181.8 kB / 0.5496 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3191, allocations: 78.64 kB / 0.5497 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3191, allocations: 5.312 kB / 0.5497 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3192, allocations: 8.078 kB / 0.5497 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.3193, allocations: 5.312 kB / 0.5497 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3193, allocations: 6.812 kB / 0.5497 GB, free: 9.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.3193, allocations: 75.28 kB / 0.5498 GB, free: 9.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3193, allocations: 1.719 kB / 0.5498 GB, free: 9.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3195, allocations: 15.06 kB / 0.5498 GB, free: 9.887 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.0001513/0.3197, allocations: 107.2 kB / 0.5499 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3199, allocations: 51.2 kB / 0.55 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3199, allocations: 4.094 kB / 0.55 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.32, allocations: 22.39 kB / 0.55 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3202, allocations: 7.156 kB / 0.55 GB, free: 9.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.3206, allocations: 125.5 kB / 0.5501 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.321, allocations: 0.6808 MB / 0.5508 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.321, allocations: 8.531 kB / 0.5508 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3211, allocations: 9.469 kB / 0.5508 GB, free: 8.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3211, allocations: 1.031 kB / 0.5508 GB, free: 8.914 MB / 398.1 MB Notification: Performance of Templates: time 0.003438/0.3245, allocations: 0.6813 MB / 0.5515 GB, free: 8.551 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.838705997914076]