Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.0009873/0.0009873, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001055/0.001055, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 1.014/1.014, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1394/0.1394, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.19e-05, allocations: 3.188 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001034/0.001056, allocations: 0.4931 MB / 379.8 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002217, allocations: 1.545 MB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.002237, allocations: 4 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.00225, allocations: 0 / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.002256, allocations: 0 / 381.3 MB, free: 21.36 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.00294, allocations: 255.2 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.927e-05/0.002979, allocations: 3.984 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.003011, allocations: 7.984 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.003029, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.269e-05/0.003042, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.003047, allocations: 3.938 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.003553, allocations: 0.6908 MB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-06/0.003559, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.082e-05/0.00357, allocations: 3.984 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.003984, allocations: 0.7447 MB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003986, allocations: 0 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003987, allocations: 0 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.003989, allocations: 0 / 383 MB, free: 19.66 MB / 314.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.0002291/0.004218, allocations: 393.8 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.004245, allocations: 12.03 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.004267, allocations: 0.9375 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.634e-05/0.004304, allocations: 112.6 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.004313, allocations: 8.312 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-06/0.004318, allocations: 4.375 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.589e-05/0.004364, allocations: 55.97 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004371, allocations: 192 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-06/0.004375, allocations: 384 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004381, allocations: 7.938 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-06/0.00439, allocations: 25.7 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.532e-05/0.004435, allocations: 93.25 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.462e-05/0.00446, allocations: 56.73 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-06/0.004468, allocations: 37.39 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-06/0.004471, allocations: 8.062 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.004486, allocations: 59.09 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.004487, allocations: 0 / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.004592, allocations: 118.8 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.004611, allocations: 77.11 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.765e-05/0.004629, allocations: 142.2 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.004634, allocations: 29.7 kB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-06/0.004643, allocations: 126.9 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.004655, allocations: 0 / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.004672, allocations: 15.5 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.004713, allocations: 0.5 MB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.004722, allocations: 25.7 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.00473, allocations: 25.7 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.004758, allocations: 63.09 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004759, allocations: 0 / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.299e-05/0.004802, allocations: 93.09 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.00482, allocations: 29.7 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004824, allocations: 0 / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.004832, allocations: 7.938 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.004832, allocations: 4.094 kB / 385.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.004836, allocations: 0 / 385.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.004846, allocations: 7.875 kB / 385.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.004851, allocations: 0 / 385.1 MB, free: 17.25 MB / 314.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 4.334e-05/0.004894, allocations: 186.3 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.004899, allocations: 352 / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-06/0.004906, allocations: 6.984 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004908, allocations: 4 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00491, allocations: 0 / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004912, allocations: 0 / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.618e-05/0.004948, allocations: 97.2 kB / 385.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004949, allocations: 0 / 385.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.004949, allocations: 0 / 385.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.004951, allocations: 7.984 kB / 385.4 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.004955, allocations: 0 / 385.4 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004956, allocations: 3.984 kB / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004956, allocations: 0 / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.872e-05/0.005015, allocations: 135.7 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.005018, allocations: 0 / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.005028, allocations: 7.938 kB / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-06/0.005033, allocations: 0 / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.005042, allocations: 8.016 kB / 385.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005044, allocations: 0 / 385.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.005056, allocations: 119.2 kB / 385.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005056, allocations: 0 / 385.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.005293, allocations: 127.8 kB / 385.8 MB, free: 16.49 MB / 314.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.0004362/0.005729, allocations: 181.9 kB / 386 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.00579, allocations: 118.5 kB / 386.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005792, allocations: 0 / 386.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.005806, allocations: 100.7 kB / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.884e-05/0.005904, allocations: 3.938 kB / 386.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.006032, allocations: 107.6 kB / 386.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.879e-05/0.00605, allocations: 59.34 kB / 386.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.021e-06/0.006056, allocations: 3.984 kB / 386.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.006083, allocations: 70.2 kB / 386.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.006084, allocations: 0 / 386.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003986/0.01007, allocations: 4.457 MB / 390.9 MB, free: 11.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.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.404786255210638]