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.0016/0.0016, allocations: 104.4 kB / 16.4 MB, free: 6.492 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.00182/0.00182, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2425/0.2425, 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.002312/0.002312, allocations: 63.91 kB / 441.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 57.79 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001791/0.1298, allocations: 498.8 kB / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1321, allocations: 1.591 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.1321, allocations: 4 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1321, allocations: 3.938 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.1322, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1332, allocations: 275.2 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.1333, allocations: 0 / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.1333, allocations: 7.969 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1334, allocations: 4 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.1334, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1334, allocations: 0 / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.1343, allocations: 0.4909 MB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1343, allocations: 3.984 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1344, allocations: 0 / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.1349, allocations: 299.4 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1349, allocations: 0 / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1349, allocations: 0 / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1349, allocations: 4 kB / 0.491 GB, free: 8.656 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.0004446/0.1354, allocations: 372.7 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1354, allocations: 11.89 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.1355, allocations: 0.9375 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1356, allocations: 172.3 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1356, allocations: 4.312 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1356, allocations: 384 / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.1357, allocations: 34.02 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1357, allocations: 4 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1358, allocations: 7.922 kB / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1358, allocations: 3.938 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1358, allocations: 0 / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1359, allocations: 149.7 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.136, allocations: 18.61 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.136, allocations: 4.859 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.136, allocations: 0 / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.1361, allocations: 68.27 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1361, allocations: 0 / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001898/0.1363, allocations: 71.33 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.1364, allocations: 77.11 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.1364, allocations: 89.86 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1364, allocations: 25.7 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.1365, allocations: 80.14 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1365, allocations: 128 / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1365, allocations: 17.72 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1367, allocations: 310.8 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.1367, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.1367, allocations: 8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1368, allocations: 64.19 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1368, allocations: 0 / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.003e-05/0.1368, allocations: 59.41 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.1369, allocations: 41.73 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1369, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1369, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-06/0.1369, allocations: 3.984 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1369, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.137, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.137, allocations: 0 / 0.4926 GB, free: 6.723 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.026e-05/0.1371, allocations: 147.5 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.1371, allocations: 3.938 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.1371, allocations: 7.125 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1371, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1371, allocations: 4 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1371, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.938e-05/0.1372, allocations: 149.7 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1372, allocations: 0 / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.1372, allocations: 3.938 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1372, allocations: 7.875 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1372, allocations: 4 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1373, allocations: 3.938 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1373, allocations: 3.984 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.579e-05/0.1374, allocations: 94.83 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.1374, allocations: 77.11 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1374, allocations: 3.938 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1374, allocations: 0 / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.1374, allocations: 0 / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1375, allocations: 4 kB / 0.4931 GB, free: 6.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.1375, allocations: 75.28 kB / 0.4931 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 4.031 kB / 0.4931 GB, free: 6.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1378, allocations: 67.98 kB / 0.4932 GB, free: 5.961 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.0004428/0.1383, allocations: 181.8 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.1384, allocations: 67.33 kB / 0.4934 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1384, allocations: 0 / 0.4934 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.1385, allocations: 55.41 kB / 0.4935 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1386, allocations: 7.984 kB / 0.4935 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.1388, allocations: 88.83 kB / 0.4936 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.139, allocations: 0.6769 MB / 0.4943 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.139, allocations: 0 / 0.4943 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.139, allocations: 7.438 kB / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.139, allocations: 4 kB / 0.4943 GB, free: 4.793 MB / 382.1 MB Notification: Performance of Templates: time 0.004004/0.143, allocations: 1.276 MB / 0.4955 GB, free: 3.52 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