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.001243/0.001243, allocations: 107.3 kB / 17.03 MB, free: 5.66 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.001177/0.001178, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.584/1.584, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.2334/0.2334, allocations: 43.51 MB / 314.7 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.001901/0.001901, allocations: 71.83 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1381, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002205/0.1403, allocations: 0.4932 MB / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1425, allocations: 1.594 MB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.1425, allocations: 0 / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.1426, allocations: 0 / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1426, allocations: 4 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.1435, allocations: 271.2 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.1436, allocations: 8 kB / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.1436, allocations: 0 / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.1436, allocations: 3.984 kB / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.1437, allocations: 0 / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1437, allocations: 0 / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005513/0.1442, allocations: 496.3 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1443, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1443, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1446, allocations: 307.3 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1446, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1446, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1447, allocations: 0 / 445.1 MB, free: 2.965 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.0002994/0.145, allocations: 377.2 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.145, allocations: 11.89 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.145, allocations: 0.9375 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.026e-05/0.1451, allocations: 160.4 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1451, allocations: 384 / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1451, allocations: 4.375 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.1452, allocations: 34 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1452, allocations: 0 / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1453, allocations: 0 / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1453, allocations: 0 / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.1453, allocations: 11.98 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.909e-05/0.1454, allocations: 141.7 kB / 445.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.1454, allocations: 26.55 kB / 445.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.1455, allocations: 8.844 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1455, allocations: 0 / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1455, allocations: 60.2 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1455, allocations: 0 / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001721/0.1457, allocations: 63.47 kB / 446 MB, free: 1.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1457, allocations: 88.97 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.194e-05/0.1458, allocations: 97.86 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1458, allocations: 25.7 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.166e-05/0.1458, allocations: 80.14 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1458, allocations: 3.938 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.1459, allocations: 13.66 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.1459, allocations: 319 kB / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1459, allocations: 0 / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.1459, allocations: 0 / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.146, allocations: 64.27 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.146, allocations: 0 / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.346e-05/0.146, allocations: 67.33 kB / 446.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1461, allocations: 33.64 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1461, allocations: 0 / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1461, allocations: 0 / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1461, allocations: 4.094 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1461, allocations: 4 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.1461, allocations: 0 / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1462, allocations: 0 / 446.8 MB, free: 1.027 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 5.589e-05/0.1462, allocations: 143.5 kB / 446.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.1462, allocations: 3.938 kB / 446.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.1462, allocations: 7.125 kB / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.1463, allocations: 0 / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1463, allocations: 0 / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1463, allocations: 4 kB / 446.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.517e-05/0.1463, allocations: 149.7 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1463, allocations: 4 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1463, allocations: 0 / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1463, allocations: 3.938 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1464, allocations: 0 / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1464, allocations: 0 / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1464, allocations: 3.984 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.482e-05/0.1464, allocations: 98.77 kB / 447.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.1465, allocations: 77.11 kB / 447.3 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1465, allocations: 7.938 kB / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.1465, allocations: 0 / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.1465, allocations: 3.938 kB / 447.3 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1465, allocations: 0 / 447.3 MB, free: 432 kB / 318.1 MB Notification: Performance of sorting global known variables: time 1.512e-05/0.1465, allocations: 75.28 kB / 447.3 MB, free: 356 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1465, allocations: 0 / 447.3 MB, free: 356 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1469, allocations: 63.98 kB / 447.4 MB, free: 292 kB / 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.0003952/0.1473, allocations: 191.6 kB / 447.6 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.038e-05/0.1474, allocations: 59.41 kB / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1474, allocations: 0 / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.1475, allocations: 59.39 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1476, allocations: 0 / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.1478, allocations: 84.92 kB / 447.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1481, allocations: 0.6729 MB / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.89e-06/0.1481, allocations: 0 / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.1482, allocations: 7.438 kB / 448.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1482, allocations: 4.125 kB / 448.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Templates: time 0.00415/0.1523, allocations: 1.281 MB / 449.8 MB, free: 13.86 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches