Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.0009523/0.0009523, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001077/0.001077, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9502/0.9502, allocations: 177.1 MB / 205 MB, free: 5.594 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.2653/0.2653, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.879e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009324/0.0009512, allocations: 0.5045 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.002719, allocations: 1.611 MB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.002735, allocations: 0 / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.002753, allocations: 0 / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.002758, allocations: 0 / 380.1 MB, free: 0.5352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.003476, allocations: 291.1 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.003517, allocations: 4 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.003549, allocations: 11.98 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.00357, allocations: 4 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.471e-05/0.003585, allocations: 0 / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-06/0.003592, allocations: 0 / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.004045, allocations: 423 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.004052, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.004068, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.004372, allocations: 323.1 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004374, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004374, allocations: 4 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004378, allocations: 0 / 381.2 MB, free: 15.5 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.0002604/0.004638, allocations: 397.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.004671, allocations: 8.031 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.004699, allocations: 4.938 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.069e-05/0.00475, allocations: 108.6 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.004758, allocations: 384 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.004766, allocations: 384 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.004839, allocations: 67.88 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004847, allocations: 192 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.004853, allocations: 384 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.00486, allocations: 11.92 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.004878, allocations: 29.7 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.019e-05/0.004958, allocations: 108.6 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.005, allocations: 56.73 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.005019, allocations: 37.38 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.005023, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.005054, allocations: 63.16 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.005054, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000133/0.005187, allocations: 114.8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.005222, allocations: 89.16 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.667e-05/0.005259, allocations: 146.2 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.005266, allocations: 29.7 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.005291, allocations: 126.9 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.005306, allocations: 4.281 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.005326, allocations: 15.38 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.005431, allocations: 496.1 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.005448, allocations: 29.7 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.005459, allocations: 25.7 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.005496, allocations: 67.08 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005497, allocations: 4.062 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.113e-05/0.005548, allocations: 89.06 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.005571, allocations: 33.7 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.005574, allocations: 0 / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.005586, allocations: 3.938 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-06/0.00559, allocations: 3.984 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005595, allocations: 3.938 kB / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-06/0.005604, allocations: 0 / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.00561, allocations: 8 kB / 383.3 MB, free: 13.05 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 0.0003759/0.005986, allocations: 182.3 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-06/0.005993, allocations: 4 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-06/0.006001, allocations: 3 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.006002, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006006, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006009, allocations: 7.875 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.762e-05/0.006057, allocations: 108.6 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006058, allocations: 8 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.006059, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.00606, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.006064, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.006065, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.006065, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.203e-05/0.006137, allocations: 135.7 kB / 383.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-06/0.00614, allocations: 4 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.006151, allocations: 0 / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-06/0.006155, allocations: 0 / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.006166, allocations: 0 / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.006169, allocations: 4 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.637e-05/0.006196, allocations: 123.1 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006196, allocations: 0 / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.006386, allocations: 67.8 kB / 383.9 MB, free: 12.33 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.000303/0.006689, allocations: 198.6 kB / 384.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9e-05/0.006779, allocations: 122.5 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006781, allocations: 0 / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.006811, allocations: 92.8 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.142e-05/0.006902, allocations: 0 / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.007058, allocations: 117.6 kB / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.007087, allocations: 55.36 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.24e-06/0.007092, allocations: 0 / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.007103, allocations: 8.5 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.007103, allocations: 4.125 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Templates: time 0.002649/0.009753, allocations: 1.316 MB / 385.8 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.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.1200885167345405]