Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 85.56 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 162.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2066/0.2066, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.946e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001457/0.001486, allocations: 0.4933 MB / 440.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.00303, allocations: 0.7253 MB / 441.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.003045, allocations: 0 / 441.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.003056, allocations: 0 / 441.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.003062, allocations: 0 / 441.3 MB, free: 6.949 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001906/0.004967, allocations: 0.6496 MB / 441.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.005015, allocations: 0 / 441.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.005054, allocations: 3.984 kB / 441.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.005081, allocations: 4 kB / 441.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.005101, allocations: 0 / 441.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.005108, allocations: 0 / 441.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.005891, allocations: 414.3 kB / 442.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.005898, allocations: 0 / 442.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.005913, allocations: 0 / 442.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.006456, allocations: 379.1 kB / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006459, allocations: 0 / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006459, allocations: 0 / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006464, allocations: 0 / 442.7 MB, free: 5.516 MB / 366.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.0004163/0.00688, allocations: 315.5 kB / 443 MB, free: 5.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.006922, allocations: 12.03 kB / 443 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.006952, allocations: 0.9375 kB / 443 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.007038, allocations: 113.7 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.00705, allocations: 384 / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.007064, allocations: 8.359 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.00717, allocations: 51.97 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007177, allocations: 4.188 kB / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.007187, allocations: 4.375 kB / 443.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.007191, allocations: 384 / 443.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.007229, allocations: 33.64 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.007341, allocations: 101.3 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.007413, allocations: 52.2 kB / 443.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.007509, allocations: 30.56 kB / 443.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.007518, allocations: 4.094 kB / 443.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.007569, allocations: 56.27 kB / 443.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.00757, allocations: 0 / 443.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001996/0.00777, allocations: 122.8 kB / 443.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.007826, allocations: 77.11 kB / 443.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.007878, allocations: 89.86 kB / 443.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.007894, allocations: 33.64 kB / 443.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.007931, allocations: 80.14 kB / 443.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.007949, allocations: 3.953 kB / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.007975, allocations: 9.719 kB / 443.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008121, allocations: 318.8 kB / 444.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.008144, allocations: 25.7 kB / 444.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.008221, allocations: 33.81 kB / 444.3 MB, free: 3.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.008282, allocations: 64.33 kB / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.008283, allocations: 0 / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.839e-05/0.008371, allocations: 85.11 kB / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.00841, allocations: 41.69 kB / 444.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.008414, allocations: 0 / 444.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.008425, allocations: 0 / 444.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-06/0.008431, allocations: 3.938 kB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.008439, allocations: 3.984 kB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.008454, allocations: 7.875 kB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.00846, allocations: 4.031 kB / 444.5 MB, free: 3.48 MB / 366.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 9.476e-05/0.008555, allocations: 135.5 kB / 444.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.008562, allocations: 0 / 444.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.246e-05/0.008575, allocations: 3 kB / 444.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.008576, allocations: 0 / 444.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.008582, allocations: 7.984 kB / 444.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.008584, allocations: 0 / 444.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.008665, allocations: 97.27 kB / 444.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.008666, allocations: 0 / 444.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.008667, allocations: 0 / 444.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.00867, allocations: 4 kB / 444.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.008678, allocations: 4 kB / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.008679, allocations: 0 / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00868, allocations: 0 / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.0088, allocations: 120.5 kB / 444.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.008804, allocations: 0 / 444.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.008814, allocations: 3.938 kB / 444.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.008824, allocations: 7.938 kB / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.008838, allocations: 0 / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.008849, allocations: 7.984 kB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.00889, allocations: 75.28 kB / 444.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.00889, allocations: 4.031 kB / 444.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.00923, allocations: 87.73 kB / 445 MB, free: 2.855 MB / 366.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.0005674/0.009797, allocations: 243.9 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.009922, allocations: 114.7 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.009929, allocations: 0 / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.009985, allocations: 85.11 kB / 445.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.01012, allocations: 7.375 kB / 445.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.01033, allocations: 102.8 kB / 445.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.01039, allocations: 59.28 kB / 445.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.01039, allocations: 4 kB / 445.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.0104, allocations: 8.5 kB / 445.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.0104, allocations: 4 kB / 445.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of Templates: time 0.00545/0.01585, allocations: 1.956 MB / 447.6 MB, free: 192 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.620626553893089]