Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001008/0.001008, allocations: 78.66 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001033/0.001033, allocations: 173.7 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9887/0.9887, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.62e-05, allocations: 9.547 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001061/0.001087, allocations: 0.4968 MB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.002045, allocations: 0.7448 MB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.002064, allocations: 0 / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.002077, allocations: 4 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.002083, allocations: 0 / 379.7 MB, free: 1.168 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001192/0.003275, allocations: 0.6418 MB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.993e-05/0.003315, allocations: 7.938 kB / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.918e-05/0.003344, allocations: 3.984 kB / 380.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.003368, allocations: 0 / 380.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.562e-05/0.003384, allocations: 0 / 380.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.00339, allocations: 0 / 380.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.00385, allocations: 407.1 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.003858, allocations: 3.938 kB / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.003869, allocations: 4 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.004208, allocations: 379 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00421, allocations: 4 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004211, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004214, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.7 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.0002553/0.00447, allocations: 405.6 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004504, allocations: 16.02 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.004527, allocations: 0.9375 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.301e-05/0.00458, allocations: 112.6 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.004589, allocations: 4.375 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-06/0.004594, allocations: 384 / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.758e-05/0.004651, allocations: 55.97 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.004657, allocations: 8.125 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.004664, allocations: 4.359 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004668, allocations: 384 / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.451e-05/0.004683, allocations: 29.64 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.105e-05/0.004754, allocations: 101.2 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.4e-05/0.004788, allocations: 52.7 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.004803, allocations: 37.48 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-06/0.004806, allocations: 0 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.004836, allocations: 63.09 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.004837, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.004959, allocations: 122.7 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.00499, allocations: 81.11 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.005303, allocations: 142.2 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.005309, allocations: 25.7 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.005334, allocations: 126.9 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.005348, allocations: 352 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.005369, allocations: 19.38 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.00547, allocations: 0.4883 MB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.005485, allocations: 25.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.005497, allocations: 29.7 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.005535, allocations: 75.22 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005536, allocations: 0 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.157e-05/0.005588, allocations: 89.05 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.005612, allocations: 33.7 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005616, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.005625, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.005626, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.005628, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.005638, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005643, allocations: 4 kB / 383.3 MB, free: 13.31 MB / 362.7 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.848e-05/0.005701, allocations: 190.2 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-06/0.005706, allocations: 4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.005717, allocations: 6.984 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.005718, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005719, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005721, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.862e-05/0.00577, allocations: 105.1 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.00577, allocations: 3.938 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.005771, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.005771, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.005776, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005776, allocations: 3.938 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.005778, allocations: 3.984 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.601e-05/0.005844, allocations: 127.8 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.005847, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.005854, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-06/0.005859, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.005869, allocations: 3.984 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.005875, allocations: 8 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.005899, allocations: 119.2 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005899, allocations: 4.031 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.006124, allocations: 87.73 kB / 383.9 MB, free: 12.57 MB / 362.7 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.0003417/0.006465, allocations: 244 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.006547, allocations: 126.4 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006548, allocations: 0 / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.006574, allocations: 88.8 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.119e-05/0.006655, allocations: 11.94 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001289/0.006784, allocations: 117.8 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.006809, allocations: 51.36 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.006815, allocations: 0 / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.006848, allocations: 70.2 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006849, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003581/0.01043, allocations: 2.352 MB / 387 MB, free: 9.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2740175211802125]