Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.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.001794/0.001794, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002213/0.002213, allocations: 160.7 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.517/1.517, allocations: 177.1 MB / 204.7 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] 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.22/0.22, allocations: 34.24 MB / 295.4 MB, free: 14.53 MB / 286.1 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 83.88 kB / 443.1 MB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3715, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001656/0.3731, allocations: 0.4982 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005759/0.3737, allocations: 260 kB / 0.498 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3737, allocations: 4 kB / 0.498 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.3737, allocations: 0 / 0.498 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.3737, allocations: 0 / 0.498 GB, free: 29.35 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:409:3-464:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3741, allocations: 50.69 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.3741, allocations: 2.938 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.3742, allocations: 0 / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.3742, allocations: 3.984 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.513e-05/0.3742, allocations: 3.094 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.3742, allocations: 0 / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3744, allocations: 66.09 kB / 0.4981 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.3744, allocations: 4 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.3744, allocations: 0 / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3745, allocations: 56.33 kB / 0.4982 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3745, allocations: 3.344 kB / 0.4982 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3745, allocations: 0 / 0.4982 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3745, allocations: 3.938 kB / 0.4982 GB, free: 29.27 MB / 446.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.0002627/0.3748, allocations: 280.8 kB / 0.4984 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3748, allocations: 13.66 kB / 0.4984 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.3748, allocations: 4.359 kB / 0.4984 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.411e-05/0.3749, allocations: 102.5 kB / 0.4985 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3749, allocations: 384 / 0.4985 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3749, allocations: 7.625 kB / 0.4985 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.667e-05/0.375, allocations: 59.16 kB / 0.4986 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.375, allocations: 192 / 0.4986 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.375, allocations: 7.922 kB / 0.4986 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.375, allocations: 0 / 0.4986 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.3751, allocations: 29.17 kB / 0.4986 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.6e-05/0.3752, allocations: 96.39 kB / 0.4987 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.3752, allocations: 47.53 kB / 0.4988 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.3752, allocations: 30.56 kB / 0.4988 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.3752, allocations: 3.938 kB / 0.4988 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3753, allocations: 70.77 kB / 0.4989 GB, free: 28.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3753, allocations: 0 / 0.4989 GB, free: 28.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.3754, allocations: 116.4 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3755, allocations: 84.52 kB / 0.4991 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.098e-05/0.3755, allocations: 97.81 kB / 0.4992 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.3755, allocations: 25.7 kB / 0.4992 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.3755, allocations: 80.14 kB / 0.4993 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3755, allocations: 3.125 kB / 0.4993 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.3755, allocations: 9.719 kB / 0.4993 GB, free: 27.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.3756, allocations: 313.9 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.3756, allocations: 29.83 kB / 0.4996 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.3756, allocations: 28.95 kB / 0.4996 GB, free: 27.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.3757, allocations: 67.09 kB / 0.4997 GB, free: 27.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3757, allocations: 0 / 0.4997 GB, free: 27.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.401e-05/0.3757, allocations: 83.58 kB / 0.4998 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3757, allocations: 35.23 kB / 0.4998 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3757, allocations: 3.938 kB / 0.4998 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3757, allocations: 0 / 0.4998 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.3758, allocations: 3.938 kB / 0.4998 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3758, allocations: 4.094 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.3758, allocations: 7.25 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3758, allocations: 0 / 0.4998 GB, free: 27.38 MB / 446.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.016e-05/0.3758, allocations: 138.7 kB / 0.5 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.3758, allocations: 0 / 0.5 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-06/0.3758, allocations: 3 kB / 0.5 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3758, allocations: 7.359 kB / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3758, allocations: 3.938 kB / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3759, allocations: 3.312 kB / 0.5 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.182e-05/0.3759, allocations: 93.33 kB / 0.5001 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3759, allocations: 0 / 0.5001 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.3759, allocations: 4 kB / 0.5001 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3759, allocations: 3.125 kB / 0.5001 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.3759, allocations: 0 / 0.5001 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3759, allocations: 0 / 0.5001 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3759, allocations: 3.938 kB / 0.5001 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.376, allocations: 124.7 kB / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.376, allocations: 3.422 kB / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.376, allocations: 3.25 kB / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.376, allocations: 0 / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.376, allocations: 3.938 kB / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.376, allocations: 4.031 kB / 0.5002 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.376, allocations: 75.28 kB / 0.5003 GB, free: 26.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.376, allocations: 3.156 kB / 0.5003 GB, free: 26.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000216/0.3763, allocations: 24.11 kB / 0.5003 GB, free: 26.86 MB / 446.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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.0006839/0.3769, allocations: 276.7 kB / 0.5006 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.377, allocations: 113 kB / 0.5007 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.377, allocations: 0 / 0.5007 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.3771, allocations: 87.41 kB / 0.5008 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3772, allocations: 3 kB / 0.5008 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.3774, allocations: 122.2 kB / 0.5009 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.3774, allocations: 54.2 kB / 0.5009 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.3774, allocations: 0 / 0.5009 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.3774, allocations: 11.5 kB / 0.5009 GB, free: 26.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3774, allocations: 0 / 0.5009 GB, free: 26.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003363/0.3808, allocations: 0.8065 MB / 0.5017 GB, free: 26.11 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal.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.137904152972624]