Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001732/0.001737, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.00109, allocations: 86.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2926/0.2926, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.86 MB / 490.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0007033/0.1245, allocations: 220.7 kB / 490.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.1275, allocations: 1.526 MB / 491.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1275, allocations: 4 kB / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.1276, allocations: 0 / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1276, allocations: 0 / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1286, allocations: 227.5 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.143e-05/0.1287, allocations: 0 / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1288, allocations: 0 / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.1288, allocations: 4 kB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1288, allocations: 7.938 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1288, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.1298, allocations: 419.2 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-06/0.1298, allocations: 3.984 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1299, allocations: 25.7 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.1304, allocations: 207.7 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1304, allocations: 0 / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1304, allocations: 8 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1304, allocations: 0 / 492.8 MB, free: 6.703 MB / 330.7 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.0004286/0.1309, allocations: 369.1 kB / 493.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1309, allocations: 8.031 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.131, allocations: 7.984 kB / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1311, allocations: 167 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1311, allocations: 4 kB / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1312, allocations: 3.938 kB / 493.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.1313, allocations: 29.7 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1313, allocations: 0 / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1313, allocations: 4 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1313, allocations: 3.984 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.1313, allocations: 0 / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1315, allocations: 149.6 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.1316, allocations: 22.61 kB / 493.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.1316, allocations: 3.938 kB / 493.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.1317, allocations: 60.27 kB / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.857e-06/0.1317, allocations: 0 / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002106/0.1319, allocations: 67.39 kB / 493.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.132, allocations: 77.11 kB / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.1321, allocations: 89.86 kB / 493.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1322, allocations: 29.7 kB / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.1322, allocations: 154.6 kB / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1323, allocations: 0 / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1323, allocations: 4.125 kB / 494.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1325, allocations: 318.7 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1325, allocations: 0 / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.1325, allocations: 11.92 kB / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.1326, allocations: 25.7 kB / 494.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1326, allocations: 0 / 494.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.1327, allocations: 59.41 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.1328, allocations: 29.7 kB / 494.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1328, allocations: 4.094 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1328, allocations: 0 / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.1328, allocations: 0 / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1328, allocations: 7.984 kB / 494.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.1329, allocations: 4 kB / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1329, allocations: 0 / 494.5 MB, free: 4.77 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.133, allocations: 143.5 kB / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.133, allocations: 0 / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.1331, allocations: 3.125 kB / 494.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1331, allocations: 4 kB / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1331, allocations: 0 / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1331, allocations: 0 / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1333, allocations: 153.6 kB / 494.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1333, allocations: 3.938 kB / 494.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1333, allocations: 0 / 494.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1335, allocations: 94.83 kB / 494.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.1335, allocations: 81.06 kB / 495 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1336, allocations: 0 / 495 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.1336, allocations: 7.938 kB / 495 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1336, allocations: 7.984 kB / 495 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.1336, allocations: 0 / 495 MB, free: 4.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.1337, allocations: 75.28 kB / 495.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1337, allocations: 0 / 495.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004342/0.1341, allocations: 68.02 kB / 495.1 MB, free: 4.031 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006208/0.1348, allocations: 202.3 kB / 495.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1349, allocations: 67.33 kB / 495.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1349, allocations: 0 / 495.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.135, allocations: 55.41 kB / 495.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.1351, allocations: 0 / 495.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.1353, allocations: 100.5 kB / 495.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1356, allocations: 0.6692 MB / 496.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.1357, allocations: 15.56 kB / 496.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1357, allocations: 0 / 496.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of Templates: time 0.005142/0.1408, allocations: 1.319 MB / 497.6 MB, free: 1.527 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches