Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001886/0.001886, allocations: 120.9 kB / 19.13 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002254/0.002254, allocations: 210.6 kB / 22.08 MB, free: 0.9961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 84.05 kB / 490.8 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1116, allocations: 62.45 MB / 0.5403 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001434/0.1131, allocations: 485.9 kB / 0.5408 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1152, allocations: 1.612 MB / 0.5424 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1153, allocations: 0 / 0.5424 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.1153, allocations: 0 / 0.5424 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.1153, allocations: 3.938 kB / 0.5424 GB, free: 2.156 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008469/0.1162, allocations: 271.2 kB / 0.5426 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.1162, allocations: 4 kB / 0.5426 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.1163, allocations: 7.984 kB / 0.5426 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.1163, allocations: 3.984 kB / 0.5426 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.1163, allocations: 0 / 0.5426 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-06/0.1163, allocations: 0 / 0.5426 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.117, allocations: 0.4921 MB / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.117, allocations: 0 / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.117, allocations: 0 / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.1175, allocations: 327.1 kB / 0.5434 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1175, allocations: 0 / 0.5434 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1175, allocations: 0 / 0.5434 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1175, allocations: 0 / 0.5434 GB, free: 1.066 MB / 398.1 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.0003828/0.1179, allocations: 372.9 kB / 0.5438 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1179, allocations: 8.031 kB / 0.5438 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.118, allocations: 0.9375 kB / 0.5438 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1181, allocations: 164.4 kB / 0.5439 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1181, allocations: 384 / 0.5439 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1181, allocations: 4.375 kB / 0.544 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.1182, allocations: 41.95 kB / 0.544 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1182, allocations: 0 / 0.544 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1182, allocations: 4 kB / 0.544 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1183, allocations: 0 / 0.544 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.1183, allocations: 4 kB / 0.544 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1184, allocations: 149.7 kB / 0.5441 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.1185, allocations: 18.61 kB / 0.5442 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.1185, allocations: 8.859 kB / 0.5442 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-06/0.1185, allocations: 0 / 0.5442 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.1186, allocations: 68.14 kB / 0.5442 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1186, allocations: 0 / 0.5442 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.1188, allocations: 63.45 kB / 0.5443 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1188, allocations: 77.11 kB / 0.5444 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.1189, allocations: 97.81 kB / 0.5445 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1189, allocations: 25.83 kB / 0.5445 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.1189, allocations: 84.14 kB / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.119, allocations: 3.938 kB / 0.5446 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.119, allocations: 13.72 kB / 0.5446 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1191, allocations: 318.8 kB / 0.5449 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.1191, allocations: 0 / 0.5449 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.1191, allocations: 3.938 kB / 0.5449 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.1192, allocations: 64.2 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1192, allocations: 4.062 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.681e-05/0.1193, allocations: 63.41 kB / 0.545 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.1193, allocations: 37.62 kB / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1193, allocations: 0 / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1194, allocations: 0 / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1194, allocations: 0 / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1194, allocations: 4 kB / 0.5451 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.1194, allocations: 0 / 0.5451 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1194, allocations: 0 / 0.5451 GB, free: 15.12 MB / 414.1 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 8.956e-05/0.1195, allocations: 139.6 kB / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.1195, allocations: 3.938 kB / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-06/0.1195, allocations: 3.125 kB / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1195, allocations: 0 / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1195, allocations: 0 / 0.5452 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1195, allocations: 3.984 kB / 0.5452 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1197, allocations: 145.7 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1197, allocations: 0 / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.1197, allocations: 3.938 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1197, allocations: 3.938 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1197, allocations: 8 kB / 0.5454 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1197, allocations: 0 / 0.5454 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1197, allocations: 3.984 kB / 0.5454 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.649e-05/0.1198, allocations: 90.83 kB / 0.5454 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1199, allocations: 81.05 kB / 0.5455 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1199, allocations: 7.938 kB / 0.5455 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.1199, allocations: 4 kB / 0.5455 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1199, allocations: 8.016 kB / 0.5455 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1199, allocations: 0 / 0.5455 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.12, allocations: 75.28 kB / 0.5456 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.12, allocations: 0 / 0.5456 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1202, allocations: 63.75 kB / 0.5457 GB, free: 14.39 MB / 414.1 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.0004512/0.1207, allocations: 189 kB / 0.5459 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1208, allocations: 63.34 kB / 0.5459 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1208, allocations: 0 / 0.5459 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.1209, allocations: 55.41 kB / 0.546 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.121, allocations: 6.156 kB / 0.546 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.1212, allocations: 110.8 kB / 0.5461 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1215, allocations: 0.669 MB / 0.5467 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.1215, allocations: 11.44 kB / 0.5467 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1215, allocations: 0 / 0.5467 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Templates: time 0.002973/0.1245, allocations: 1.257 MB / 0.548 GB, free: 11.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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: 8.320754477987066]