Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001003/0.001003, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002496, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001127/0.001127, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004918/0.006045, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8693/0.8693, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1529/1.022, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1576/0.1576, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0446/0.2022, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.938 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.338e-05, allocations: 2.312 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001563/0.001587, allocations: 0.5594 MB / 267.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.004425, allocations: 2.117 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.004439, allocations: 0 / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-06/0.004444, allocations: 0 / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.004445, allocations: 0 / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.006092, allocations: 0.7165 MB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.006151, allocations: 7.984 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.006185, allocations: 4 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.006217, allocations: 0 / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.279e-05/0.00624, allocations: 7.938 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.006247, allocations: 0 / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.008291, allocations: 1.576 MB / 272.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.008302, allocations: 0 / 272.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.008317, allocations: 0 / 272.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.009859, allocations: 1.481 MB / 273.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.00987, allocations: 0 / 273.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.009872, allocations: 0 / 273.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.009883, allocations: 0 / 273.8 MB, free: 12.07 MB / 282.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.0005613/0.01044, allocations: 421.4 kB / 274.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01048, allocations: 8.031 kB / 274.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.01052, allocations: 8.922 kB / 274.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.01061, allocations: 105.8 kB / 274.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.01062, allocations: 4.375 kB / 274.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.01063, allocations: 384 / 274.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.01071, allocations: 59.91 kB / 274.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.01072, allocations: 7.938 kB / 274.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.01072, allocations: 0 / 274.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01073, allocations: 3.938 kB / 274.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.01075, allocations: 33.69 kB / 274.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.962e-05/0.01084, allocations: 57.08 kB / 274.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.01089, allocations: 44.28 kB / 274.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.01091, allocations: 34.62 kB / 274.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.01092, allocations: 3.938 kB / 274.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.01096, allocations: 56.27 kB / 274.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.01096, allocations: 0 / 274.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.00014/0.0111, allocations: 122.8 kB / 274.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.01116, allocations: 158.2 kB / 275 MB, free: 10.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.019e-05/0.0112, allocations: 93.86 kB / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.01121, allocations: 25.7 kB / 275.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.01124, allocations: 80.14 kB / 275.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.01126, allocations: 0 / 275.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.01129, allocations: 17.7 kB / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.01138, allocations: 314.8 kB / 275.5 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.0114, allocations: 25.7 kB / 275.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.01142, allocations: 37.77 kB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.01147, allocations: 60.27 kB / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01148, allocations: 0 / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.302e-05/0.01155, allocations: 89.09 kB / 275.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.01159, allocations: 33.7 kB / 275.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01159, allocations: 0 / 275.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.0116, allocations: 0 / 275.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.0116, allocations: 0 / 275.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01161, allocations: 3.938 kB / 275.7 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.01163, allocations: 3.953 kB / 275.7 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01164, allocations: 8.094 kB / 275.7 MB, free: 9.91 MB / 282.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 7.391e-05/0.01171, allocations: 139.5 kB / 275.9 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.01172, allocations: 4 kB / 275.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.01173, allocations: 3 kB / 275.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01173, allocations: 0 / 275.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.01173, allocations: 0 / 275.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01174, allocations: 3.938 kB / 275.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.552e-05/0.01179, allocations: 61.91 kB / 275.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01179, allocations: 0 / 275.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.0118, allocations: 7.922 kB / 275.9 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-06/0.0118, allocations: 4 kB / 275.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.0118, allocations: 0 / 275.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.01181, allocations: 0 / 275.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01181, allocations: 0 / 275.9 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01181, allocations: 4 kB / 275.9 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/0.0119, allocations: 116.5 kB / 276.1 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.01192, allocations: 4 kB / 276.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.01193, allocations: 0 / 276.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.01194, allocations: 8 kB / 276.1 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.01194, allocations: 3.938 kB / 276.1 MB, free: 9.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.408e-06/0.01195, allocations: 4.859 kB / 276.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01195, allocations: 4.031 kB / 276.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007323/0.01269, allocations: 275.6 kB / 276.4 MB, free: 9.215 MB / 282.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.00127/0.01396, allocations: 429 kB / 276.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01407, allocations: 119.7 kB / 276.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.01408, allocations: 3.938 kB / 276.9 MB, free: 8.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.01412, allocations: 85.97 kB / 277 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.047e-05/0.01418, allocations: 11.89 kB / 277 MB, free: 8.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.01438, allocations: 108 kB / 277.1 MB, free: 8.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.01441, allocations: 55.55 kB / 277.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.01442, allocations: 0 / 277.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01446, allocations: 55.36 kB / 277.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01446, allocations: 0 / 277.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of Templates: time 0.1257/0.1402, allocations: 9.421 MB / 286.6 MB, free: 8.152 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.086764718405902]