Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001838/0.001838, allocations: 107.9 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.002117/0.002117, allocations: 187.6 kB / 22.98 MB, free: 5.586 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.405/1.405, 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.2383/0.2383, allocations: 44.92 MB / 351.6 MB, free: 12.2 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 495.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.312, allocations: 64.24 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001574/0.3136, allocations: 0.5008 MB / 0.5469 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3155, allocations: 1.364 MB / 0.5482 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.3155, allocations: 4 kB / 0.5482 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.3155, allocations: 3.938 kB / 0.5482 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.3156, allocations: 0 / 0.5482 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.3162, allocations: 211.1 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.3163, allocations: 20.17 kB / 0.5484 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.3163, allocations: 1 kB / 0.5484 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.3163, allocations: 2.125 kB / 0.5484 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.3164, allocations: 5.797 kB / 0.5484 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3164, allocations: 1.094 kB / 0.5484 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.3168, allocations: 277 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3168, allocations: 0 / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3169, allocations: 9.062 kB / 0.5487 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.3171, allocations: 141.9 kB / 0.5488 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3171, allocations: 0 / 0.5488 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3171, allocations: 0 / 0.5488 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3171, allocations: 0 / 0.5488 GB, free: 11.31 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.0004141/0.3175, allocations: 341.7 kB / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3175, allocations: 10.06 kB / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3176, allocations: 6.062 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3177, allocations: 164.4 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.3177, allocations: 5.266 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3177, allocations: 1.375 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3178, allocations: 39.39 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3178, allocations: 1.062 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3179, allocations: 0 / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3179, allocations: 1.125 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.3179, allocations: 8.297 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.3183, allocations: 248.6 kB / 0.5496 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.3183, allocations: 23.64 kB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.3183, allocations: 11 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.3183, allocations: 0 / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3184, allocations: 31.69 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3184, allocations: 0 / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.3185, allocations: 40.16 kB / 0.5497 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3185, allocations: 63.47 kB / 0.5498 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.3186, allocations: 97.34 kB / 0.5499 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3186, allocations: 25.7 kB / 0.5499 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3187, allocations: 89.28 kB / 0.55 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.3187, allocations: 1.031 kB / 0.55 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.3187, allocations: 17.09 kB / 0.55 GB, free: 9.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3189, allocations: 314.8 kB / 0.5503 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.3189, allocations: 10.42 kB / 0.5503 GB, free: 9.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.3189, allocations: 22.08 kB / 0.5503 GB, free: 9.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.3189, allocations: 24.89 kB / 0.5504 GB, free: 9.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.319, allocations: 0 / 0.5504 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.999e-05/0.319, allocations: 54.88 kB / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3191, allocations: 7.594 kB / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3191, allocations: 0 / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3191, allocations: 1.031 kB / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.3191, allocations: 5.531 kB / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3191, allocations: 0.9688 kB / 0.5504 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.3191, allocations: 5.016 kB / 0.5504 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3191, allocations: 2.156 kB / 0.5504 GB, free: 9.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.539e-05/0.3192, allocations: 115.2 kB / 0.5505 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3193, allocations: 9.297 kB / 0.5505 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3194, allocations: 45.16 kB / 0.5506 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3194, allocations: 0 / 0.5506 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3194, allocations: 1.281 kB / 0.5506 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3194, allocations: 0 / 0.5506 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3195, allocations: 155.2 kB / 0.5507 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3195, allocations: 1.531 kB / 0.5507 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3195, allocations: 0 / 0.5507 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3195, allocations: 9.594 kB / 0.5507 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3195, allocations: 0 / 0.5507 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3195, allocations: 0 / 0.5507 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3195, allocations: 1.094 kB / 0.5508 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3197, allocations: 135.6 kB / 0.5509 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.3197, allocations: 81.11 kB / 0.551 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.3197, allocations: 1.156 kB / 0.551 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.3198, allocations: 5.562 kB / 0.551 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3198, allocations: 7.875 kB / 0.551 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3198, allocations: 1.5 kB / 0.551 GB, free: 8.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.3198, allocations: 80.33 kB / 0.551 GB, free: 8.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 1.625 kB / 0.5511 GB, free: 8.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3201, allocations: 37.03 kB / 0.5511 GB, free: 8.832 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 (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.0002643/0.3204, allocations: 146.3 kB / 0.5512 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.3205, allocations: 14.91 kB / 0.5512 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3205, allocations: 0 / 0.5512 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.3205, allocations: 28.27 kB / 0.5513 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3207, allocations: 9.438 kB / 0.5513 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.3209, allocations: 90.83 kB / 0.5514 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3212, allocations: 0.6754 MB / 0.552 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.3212, allocations: 1.594 kB / 0.552 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3213, allocations: 12.75 kB / 0.552 GB, free: 7.863 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3213, allocations: 0 / 0.552 GB, free: 7.863 MB / 398.1 MB Notification: Performance of Templates: time 0.003589/0.3248, allocations: 1.066 MB / 0.5531 GB, free: 7.305 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.885028792545199]