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.00088/0.00088, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008462/0.0008462, allocations: 173.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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.7959/0.7959, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.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.1211/0.1211, allocations: 32.37 MB / 270.4 MB, free: 14.98 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 1.303e-06/1.303e-06, allocations: 0 / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.902e-05, allocations: 2.281 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0008458/0.0008648, allocations: 0.4985 MB / 408.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.002854, allocations: 2.057 MB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.002871, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.002885, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.002891, allocations: 0 / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.004101, allocations: 0.779 MB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.004142, allocations: 3.938 kB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.004174, allocations: 0 / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.004197, allocations: 4 kB / 411.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.464e-05/0.004212, allocations: 0 / 411.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.004218, allocations: 0 / 411.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.005469, allocations: 1.548 MB / 413 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.005475, allocations: 3.938 kB / 413 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.005491, allocations: 0 / 413 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.006701, allocations: 1.852 MB / 414.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.006703, allocations: 0 / 414.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006705, allocations: 0 / 414.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006708, allocations: 0 / 414.8 MB, free: 10.97 MB / 394.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.0003893/0.007098, allocations: 363.4 kB / 415.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.007129, allocations: 8.031 kB / 415.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.007162, allocations: 12.83 kB / 415.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.574e-05/0.007217, allocations: 105.8 kB / 415.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.007227, allocations: 384 / 415.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.007234, allocations: 384 / 415.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.007308, allocations: 59.91 kB / 415.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.007316, allocations: 3.938 kB / 415.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.007323, allocations: 0 / 415.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.007327, allocations: 3.938 kB / 415.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.007349, allocations: 37.69 kB / 415.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.685e-05/0.007426, allocations: 93.33 kB / 415.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.007462, allocations: 44.31 kB / 415.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.007478, allocations: 34.56 kB / 415.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.007483, allocations: 0 / 415.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.007517, allocations: 68.27 kB / 415.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.007517, allocations: 0 / 415.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.007659, allocations: 118.7 kB / 415.8 MB, free: 9.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.007692, allocations: 77.11 kB / 415.8 MB, free: 9.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.00772, allocations: 89.86 kB / 415.9 MB, free: 9.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.007728, allocations: 25.7 kB / 416 MB, free: 9.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.007746, allocations: 84.12 kB / 416 MB, free: 9.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.00776, allocations: 4 kB / 416 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.00778, allocations: 21.83 kB / 416.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.007848, allocations: 310.8 kB / 416.4 MB, free: 9.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.007863, allocations: 29.7 kB / 416.4 MB, free: 9.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.007872, allocations: 25.7 kB / 416.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.007907, allocations: 68.2 kB / 416.5 MB, free: 9.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007909, allocations: 0 / 416.5 MB, free: 9.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.202e-05/0.007961, allocations: 89.09 kB / 416.6 MB, free: 8.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.007983, allocations: 29.7 kB / 416.6 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.007987, allocations: 0 / 416.6 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007998, allocations: 4.031 kB / 416.6 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.007999, allocations: 4 kB / 416.6 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.008003, allocations: 4 kB / 416.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-06/0.008013, allocations: 0 / 416.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.008018, allocations: 0 / 416.6 MB, free: 8.914 MB / 394.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.195e-05/0.00807, allocations: 139.5 kB / 416.7 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.008074, allocations: 7.938 kB / 416.8 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-06/0.008081, allocations: 3 kB / 416.8 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008082, allocations: 3.938 kB / 416.8 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.008087, allocations: 4 kB / 416.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.008089, allocations: 0 / 416.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.274e-05/0.008131, allocations: 101.3 kB / 416.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.008132, allocations: 0 / 416.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-07/0.008132, allocations: 3.938 kB / 416.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.008133, allocations: 0 / 416.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.008138, allocations: 0 / 416.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008139, allocations: 3.984 kB / 416.9 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.00814, allocations: 3.938 kB / 416.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.935e-05/0.0082, allocations: 112.5 kB / 417 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.008207, allocations: 19.91 kB / 417 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.008215, allocations: 0 / 417 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-06/0.008219, allocations: 4.031 kB / 417 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.008229, allocations: 3.938 kB / 417 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.008231, allocations: 4 kB / 417 MB, free: 8.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.745e-05/0.008248, allocations: 75.28 kB / 417.1 MB, free: 8.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008248, allocations: 0 / 417.1 MB, free: 8.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.008685, allocations: 295.5 kB / 417.4 MB, free: 8.066 MB / 394.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.0008346/0.00952, allocations: 0.5096 MB / 417.9 MB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.009605, allocations: 110.8 kB / 418 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009607, allocations: 0 / 418 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.009631, allocations: 81.11 kB / 418.1 MB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.618e-05/0.009718, allocations: 19.86 kB / 418.1 MB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001482/0.009866, allocations: 136.2 kB / 418.2 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.0099, allocations: 51.36 kB / 418.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.00991, allocations: 12.5 kB / 418.3 MB, free: 7.055 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009911, allocations: 0 / 418.3 MB, free: 7.055 MB / 394.7 MB Notification: Performance of Templates: time 0.005645/0.01556, allocations: 6.701 MB / 425 MB, free: 348 kB / 394.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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: 10.887456160970032]