Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 191.7 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.98 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1213, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001778/0.1231, allocations: 497.4 kB / 441 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1249, allocations: 1.604 MB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.125, allocations: 0 / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.125, allocations: 3.938 kB / 442.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.125, allocations: 0 / 442.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.126, allocations: 267.3 kB / 442.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.1261, allocations: 0 / 442.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1261, allocations: 4 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1261, allocations: 0 / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.848e-05/0.1262, allocations: 0 / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-06/0.1262, allocations: 0 / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.1269, allocations: 0.4912 MB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1269, allocations: 0 / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.127, allocations: 0 / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.1274, allocations: 303.3 kB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1274, allocations: 0 / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1275, allocations: 0 / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1275, allocations: 0 / 443.7 MB, free: 3.754 MB / 318.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.0004728/0.1279, allocations: 377.3 kB / 444 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.128, allocations: 15.89 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.128, allocations: 4.938 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.1281, allocations: 160.4 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1282, allocations: 384 / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1282, allocations: 384 / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1283, allocations: 37.95 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1283, allocations: 0 / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1283, allocations: 0 / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1283, allocations: 0 / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.1284, allocations: 3.984 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.1285, allocations: 154 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.1285, allocations: 14.58 kB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.1286, allocations: 4.859 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1286, allocations: 4.094 kB / 444.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.1286, allocations: 60.2 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1286, allocations: 3.938 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002169/0.1289, allocations: 75.33 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1289, allocations: 77.11 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.371e-05/0.129, allocations: 89.86 kB / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.129, allocations: 25.7 kB / 444.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.129, allocations: 80.14 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.129, allocations: 3.938 kB / 444.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.1291, allocations: 13.72 kB / 444.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.1291, allocations: 314.8 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.1292, allocations: 8.062 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.1292, allocations: 4 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.1292, allocations: 68.2 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1292, allocations: 0 / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.648e-05/0.1293, allocations: 55.41 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1293, allocations: 41.62 kB / 445.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1293, allocations: 4 kB / 445.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1294, allocations: 0 / 445.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.1294, allocations: 96 / 445.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1294, allocations: 4 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1294, allocations: 0 / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1294, allocations: 4 kB / 445.3 MB, free: 1.809 MB / 318.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 6.237e-05/0.1295, allocations: 139.5 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1295, allocations: 3.938 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.061e-05/0.1295, allocations: 3.125 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1295, allocations: 4 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1295, allocations: 3.984 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1296, allocations: 4 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.1296, allocations: 141.7 kB / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1296, allocations: 0 / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/0.1296, allocations: 0 / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1297, allocations: 7.875 kB / 445.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1297, allocations: 4 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1297, allocations: 0 / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1297, allocations: 0 / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/0.1298, allocations: 98.81 kB / 445.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.1298, allocations: 77.11 kB / 445.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1298, allocations: 3.938 kB / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.1298, allocations: 7.922 kB / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.1299, allocations: 0 / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1299, allocations: 4 kB / 445.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.1299, allocations: 75.28 kB / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1299, allocations: 0 / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.1302, allocations: 67.98 kB / 446 MB, free: 1.066 MB / 318.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.0004863/0.1307, allocations: 183.2 kB / 446.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1309, allocations: 67.34 kB / 446.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1309, allocations: 0 / 446.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.1309, allocations: 59.41 kB / 446.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1311, allocations: 3.984 kB / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.1313, allocations: 72.98 kB / 446.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1315, allocations: 0.669 MB / 447 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.145e-06/0.1315, allocations: 0 / 447 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.1316, allocations: 11.44 kB / 447 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1316, allocations: 4.125 kB / 447 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004224/0.1358, allocations: 1.279 MB / 448.3 MB, free: 14.65 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches