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.0013/0.0013, allocations: 105.7 kB / 16.41 MB, free: 6.031 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.001256/0.001256, allocations: 185.9 kB / 17.34 MB, free: 5.633 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.685/1.685, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2284/0.2284, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001597/0.001597, allocations: 71.89 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1281, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001816/0.13, allocations: 0.491 MB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.1325, allocations: 1.591 MB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1325, allocations: 4 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1325, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.1326, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1337, allocations: 279.1 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.1337, allocations: 4 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1338, allocations: 0 / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.1338, allocations: 0 / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.1338, allocations: 7.984 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.1339, allocations: 4 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.1347, allocations: 487 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1347, allocations: 7.922 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1347, allocations: 4 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.1351, allocations: 303.4 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1351, allocations: 0 / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1351, allocations: 3.938 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1351, allocations: 4 kB / 0.491 GB, free: 8.637 MB / 382.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.0003484/0.1355, allocations: 372.7 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1355, allocations: 11.89 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1356, allocations: 0.9375 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.1357, allocations: 168.3 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1357, allocations: 384 / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1357, allocations: 4.375 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.1358, allocations: 34 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1358, allocations: 0 / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1358, allocations: 4 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1358, allocations: 0 / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.1359, allocations: 4 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.136, allocations: 145.6 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.136, allocations: 22.55 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.1361, allocations: 8.859 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.1361, allocations: 0 / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.1361, allocations: 72.17 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1361, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.1363, allocations: 63.41 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1364, allocations: 77.11 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.1364, allocations: 93.86 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1365, allocations: 25.7 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.1365, allocations: 84.14 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1365, allocations: 0 / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.1365, allocations: 17.83 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1367, allocations: 314.8 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.1367, allocations: 0 / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1367, allocations: 0 / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.1367, allocations: 60.27 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1367, allocations: 0 / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.626e-05/0.1368, allocations: 75.27 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.1369, allocations: 33.64 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1369, allocations: 4.094 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1369, allocations: 0 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1369, allocations: 0 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1369, allocations: 7.984 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.1369, allocations: 0 / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1369, allocations: 0 / 0.4926 GB, free: 6.699 MB / 382.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.346e-05/0.137, allocations: 143.5 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.137, allocations: 7.922 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.1371, allocations: 3.125 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1371, allocations: 4 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1371, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1371, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.1372, allocations: 149.7 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1372, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.1372, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.1372, allocations: 7.938 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1372, allocations: 7.922 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1372, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1372, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.1373, allocations: 94.78 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1374, allocations: 81.09 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1374, allocations: 3.938 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.1374, allocations: 4 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1374, allocations: 0 / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1374, allocations: 0 / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.1375, allocations: 75.28 kB / 0.4931 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1375, allocations: 32 / 0.4931 GB, free: 6.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1378, allocations: 67.98 kB / 0.4932 GB, free: 5.949 MB / 382.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.0004207/0.1382, allocations: 192 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1383, allocations: 55.41 kB / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1383, allocations: 0 / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.1384, allocations: 55.41 kB / 0.4935 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1385, allocations: 7.922 kB / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.1387, allocations: 92.83 kB / 0.4936 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.139, allocations: 0.6729 MB / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.414e-06/0.139, allocations: 8.109 kB / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.139, allocations: 7.438 kB / 0.4943 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.139, allocations: 0 / 0.4943 GB, free: 4.781 MB / 382.1 MB Notification: Performance of Templates: time 0.003824/0.1428, allocations: 1.273 MB / 0.4955 GB, free: 3.508 MB / 382.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