Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.001302/0.001302, 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.001396/0.001396, allocations: 164.6 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.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.891 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.2093/0.2093, allocations: 34.26 MB / 295.4 MB, free: 14.52 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 75.88 kB / 443.1 MB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3588, allocations: 66.05 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001421/0.3602, allocations: 0.5009 MB / 0.4977 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3613, allocations: 0.7318 MB / 0.4984 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.3613, allocations: 0 / 0.4984 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.3614, allocations: 3.156 kB / 0.4984 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.3614, allocations: 0 / 0.4984 GB, free: 29.08 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3629, allocations: 0.6334 MB / 0.4991 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.3629, allocations: 0 / 0.4991 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.363, allocations: 0 / 0.4991 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.363, allocations: 3.219 kB / 0.4991 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.609e-05/0.363, allocations: 7.922 kB / 0.4991 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-06/0.363, allocations: 0 / 0.4991 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006557/0.3637, allocations: 403.1 kB / 0.4995 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.3637, allocations: 7.406 kB / 0.4995 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.3637, allocations: 11.23 kB / 0.4995 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.3641, allocations: 336.7 kB / 0.4998 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3641, allocations: 0 / 0.4998 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3641, allocations: 3.938 kB / 0.4998 GB, free: 28.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.3641, allocations: 0 / 0.4998 GB, free: 28.56 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.0002722/0.3643, allocations: 314.8 kB / 0.5001 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3644, allocations: 9.562 kB / 0.5001 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3644, allocations: 0.9375 kB / 0.5001 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.289e-05/0.3644, allocations: 106 kB / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3644, allocations: 384 / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.3645, allocations: 4.375 kB / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.3645, allocations: 58.61 kB / 0.5003 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3645, allocations: 192 / 0.5003 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.3646, allocations: 3.938 kB / 0.5003 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3646, allocations: 0 / 0.5003 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.3646, allocations: 28.92 kB / 0.5003 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.08e-05/0.3646, allocations: 97.33 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.367e-05/0.3647, allocations: 50.78 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.3647, allocations: 33.84 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.3647, allocations: 0 / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3647, allocations: 60.27 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3647, allocations: 0 / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.3649, allocations: 131.7 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.3649, allocations: 77.11 kB / 0.5007 GB, free: 27.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.944e-05/0.3649, allocations: 93.81 kB / 0.5008 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.3649, allocations: 25.7 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-06/0.3649, allocations: 83.3 kB / 0.5009 GB, free: 27.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.365, allocations: 0 / 0.5009 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.365, allocations: 20.34 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.365, allocations: 314.8 kB / 0.5013 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.365, allocations: 25.83 kB / 0.5013 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.3651, allocations: 32.92 kB / 0.5013 GB, free: 26.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.3651, allocations: 63.61 kB / 0.5014 GB, free: 26.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3651, allocations: 0 / 0.5014 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.395e-05/0.3651, allocations: 95.16 kB / 0.5015 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3652, allocations: 32.05 kB / 0.5015 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3652, allocations: 0 / 0.5015 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3652, allocations: 0 / 0.5015 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.3652, allocations: 3.938 kB / 0.5015 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3652, allocations: 0 / 0.5015 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.3652, allocations: 7.469 kB / 0.5015 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3652, allocations: 7.453 kB / 0.5015 GB, free: 26.64 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 4.453e-05/0.3653, allocations: 135 kB / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.3653, allocations: 0 / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-06/0.3653, allocations: 3 kB / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3653, allocations: 3.938 kB / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3653, allocations: 0 / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3653, allocations: 0 / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.063e-05/0.3653, allocations: 103.9 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3653, allocations: 0 / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3653, allocations: 4 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3653, allocations: 3.984 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3653, allocations: 3.25 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3653, allocations: 0 / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3653, allocations: 3.938 kB / 0.5018 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.3654, allocations: 121.6 kB / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.3654, allocations: 3.219 kB / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.3654, allocations: 0 / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.3654, allocations: 3.938 kB / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.3654, allocations: 10.77 kB / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3654, allocations: 4.031 kB / 0.5019 GB, free: 26.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.253e-05/0.3654, allocations: 75.28 kB / 0.502 GB, free: 26.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3654, allocations: 0 / 0.502 GB, free: 26.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3657, allocations: 81.27 kB / 0.502 GB, free: 26.11 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.0004097/0.3662, allocations: 214.5 kB / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.3662, allocations: 117.1 kB / 0.5024 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3662, allocations: 0 / 0.5024 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.3663, allocations: 83.59 kB / 0.5024 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.3664, allocations: 13.94 kB / 0.5025 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.3665, allocations: 111.4 kB / 0.5026 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.403e-05/0.3666, allocations: 57.94 kB / 0.5026 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.3666, allocations: 0 / 0.5026 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-06/0.3666, allocations: 11.75 kB / 0.5026 GB, free: 25.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3666, allocations: 0 / 0.5026 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Templates: time 0.004542/0.3711, allocations: 1.937 MB / 0.5045 GB, free: 25.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.940968581009656]