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.001818/0.001818, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 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.00224/0.00224, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.432/1.432, allocations: 230.3 MB / 257.9 MB, free: 8.223 MB / 206.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.2193/0.2193, allocations: 46.89 MB / 361.3 MB, free: 4.438 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.002258/0.002258, allocations: 79.86 kB / 0.497 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3454, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001662/0.347, allocations: 0.4892 MB / 0.562 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3486, allocations: 0.7743 MB / 0.5628 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.3486, allocations: 4 kB / 0.5628 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.3486, allocations: 0 / 0.5628 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.3486, allocations: 0 / 0.5628 GB, free: 3.352 MB / 398.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.001911/0.3505, allocations: 0.6921 MB / 0.5634 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.3506, allocations: 0 / 0.5634 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.3506, allocations: 0 / 0.5634 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.3506, allocations: 4 kB / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.3506, allocations: 0 / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-06/0.3506, allocations: 0 / 0.5634 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000838/0.3515, allocations: 475.1 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3515, allocations: 3.984 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.3515, allocations: 0 / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.352, allocations: 353.7 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.352, allocations: 4 kB / 0.5642 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3521, allocations: 0 / 0.5642 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3521, allocations: 4 kB / 0.5642 GB, free: 1.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004334/0.3525, allocations: 315.6 kB / 0.5645 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3525, allocations: 8.031 kB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3526, allocations: 0.9375 kB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.3527, allocations: 107.5 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3527, allocations: 8.375 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3527, allocations: 384 / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3528, allocations: 30.27 kB / 0.5647 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3528, allocations: 192 / 0.5647 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3528, allocations: 7.938 kB / 0.5647 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3528, allocations: 3.984 kB / 0.5647 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.3528, allocations: 7.984 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.353, allocations: 116.7 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.353, allocations: 22.55 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.353, allocations: 8.859 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.353, allocations: 0 / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.3531, allocations: 64.33 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3531, allocations: 0 / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001873/0.3533, allocations: 67.31 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.3533, allocations: 81.11 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.3534, allocations: 93.81 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3534, allocations: 29.64 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.3535, allocations: 84.27 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3535, allocations: 0 / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.3535, allocations: 21.72 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3537, allocations: 314.8 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.3537, allocations: 0 / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.3537, allocations: 0 / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.3537, allocations: 64.2 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3537, allocations: 4.062 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.977e-05/0.3538, allocations: 63.41 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.3539, allocations: 36.19 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3539, allocations: 0 / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3539, allocations: 7.938 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.634e-06/0.3539, allocations: 3.938 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3539, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.3539, allocations: 0 / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3539, allocations: 0 / 0.5657 GB, free: 68 kB / 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: 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 0.0001299/0.354, allocations: 139.6 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.354, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.3541, allocations: 6.938 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3541, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3541, allocations: 3.984 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3541, allocations: 0 / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.3542, allocations: 116.8 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.3542, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3542, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.3542, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3542, allocations: 11.88 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3542, allocations: 4 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3542, allocations: 4 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.3543, allocations: 86.83 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.3543, allocations: 4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3543, allocations: 11.88 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.3543, allocations: 0 / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.3543, allocations: 3.984 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3543, allocations: 4.031 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.3544, allocations: 75.28 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3544, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.3547, allocations: 83.73 kB / 0.5663 GB, free: 15.44 MB / 414.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.0005208/0.3552, allocations: 215.8 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3553, allocations: 63.41 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3553, allocations: 4.062 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.3554, allocations: 55.39 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3555, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.3557, allocations: 77.08 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.356, allocations: 0.6728 MB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.43e-06/0.356, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.356, allocations: 11.42 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.356, allocations: 0 / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of Templates: time 0.005451/0.3615, allocations: 1.943 MB / 0.5692 GB, free: 12.32 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/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.92278566211462]