Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001747/0.001747, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002245/0.002245, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.507/1.507, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.243/0.243, allocations: 46.89 MB / 358.1 MB, free: 10.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 87.78 kB / 0.4924 GB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 65.98 MB / 0.5568 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001639/0.1303, allocations: 498.4 kB / 0.5573 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1327, allocations: 1.618 MB / 0.5588 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.1327, allocations: 0 / 0.5588 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1327, allocations: 0 / 0.5588 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.1327, allocations: 4 kB / 0.5588 GB, free: 3.871 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0008677/0.1336, allocations: 266.4 kB / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.1336, allocations: 7.922 kB / 0.5591 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.1336, allocations: 4 kB / 0.5591 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.1337, allocations: 0 / 0.5591 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.066e-05/0.1337, allocations: 3.984 kB / 0.5591 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.1337, allocations: 3.938 kB / 0.5591 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008516/0.1345, allocations: 0.538 MB / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.1345, allocations: 0 / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1346, allocations: 3.938 kB / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.135, allocations: 319.2 kB / 0.56 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.135, allocations: 0 / 0.56 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.135, allocations: 0 / 0.56 GB, free: 2.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.135, allocations: 0 / 0.56 GB, free: 2.738 MB / 414.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.000443/0.1355, allocations: 376.8 kB / 0.5603 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1355, allocations: 8.031 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1356, allocations: 0.9375 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1357, allocations: 168.4 kB / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1357, allocations: 384 / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1357, allocations: 4.375 kB / 0.5605 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1358, allocations: 34.02 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1358, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1358, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1358, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1359, allocations: 4 kB / 0.5605 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.136, allocations: 153.6 kB / 0.5607 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.1361, allocations: 26.61 kB / 0.5607 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1361, allocations: 4.859 kB / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1361, allocations: 0 / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.1362, allocations: 60.2 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1362, allocations: 3.938 kB / 0.5608 GB, free: 1.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002099/0.1364, allocations: 71.39 kB / 0.5608 GB, free: 1.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.1365, allocations: 77.23 kB / 0.5609 GB, free: 1.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.1365, allocations: 97.81 kB / 0.561 GB, free: 1.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1365, allocations: 29.7 kB / 0.561 GB, free: 1.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1366, allocations: 80.14 kB / 0.5611 GB, free: 1.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1366, allocations: 0 / 0.5611 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1366, allocations: 9.719 kB / 0.5611 GB, free: 1.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1368, allocations: 314.8 kB / 0.5614 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1368, allocations: 0 / 0.5614 GB, free: 1.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/0.1368, allocations: 0 / 0.5614 GB, free: 1.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.1368, allocations: 72.31 kB / 0.5615 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1368, allocations: 0 / 0.5615 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.593e-05/0.1369, allocations: 63.34 kB / 0.5615 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.137, allocations: 37.58 kB / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.137, allocations: 0 / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.137, allocations: 0 / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.137, allocations: 0 / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.137, allocations: 7.984 kB / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.137, allocations: 0 / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.137, allocations: 4.031 kB / 0.5616 GB, free: 0.793 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 0.0001023/0.1371, allocations: 139.5 kB / 0.5617 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.1371, allocations: 3.938 kB / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-06/0.1371, allocations: 3.125 kB / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1371, allocations: 0 / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1371, allocations: 0 / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1371, allocations: 0 / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1373, allocations: 149.7 kB / 0.5619 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.1373, allocations: 0 / 0.5619 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1373, allocations: 4 kB / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1373, allocations: 3.938 kB / 0.5619 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1373, allocations: 0 / 0.5619 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1373, allocations: 0 / 0.5619 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1373, allocations: 0 / 0.5619 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1374, allocations: 94.77 kB / 0.562 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1374, allocations: 77.11 kB / 0.562 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1374, allocations: 7.875 kB / 0.562 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.1374, allocations: 12.03 kB / 0.5621 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.1374, allocations: 0 / 0.5621 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1375, allocations: 3.984 kB / 0.5621 GB, free: 204 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.352e-05/0.1375, allocations: 75.28 kB / 0.5621 GB, free: 128 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1375, allocations: 0 / 0.5621 GB, free: 128 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1378, allocations: 67.8 kB / 0.5622 GB, free: 60 kB / 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.0004933/0.1383, allocations: 190 kB / 0.5624 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1385, allocations: 59.39 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1385, allocations: 4.062 kB / 0.5624 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1385, allocations: 63.34 kB / 0.5625 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1387, allocations: 2.031 kB / 0.5625 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.1389, allocations: 102.8 kB / 0.5626 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1393, allocations: 0.6768 MB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.1393, allocations: 7.438 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1393, allocations: 0 / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Templates: time 0.003298/0.1426, allocations: 1.263 MB / 0.5645 GB, free: 13.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.739956006873399]