Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 94.5 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3636/0.3636, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3527, allocations: 63.25 MB / 0.5192 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4735, allocations: 88.69 MB / 0.6058 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4738, allocations: 63.97 kB / 0.6059 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009452/0.4833, allocations: 2.887 MB / 0.6087 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4833, allocations: 0 / 0.6087 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.4834, allocations: 0 / 0.6087 GB, free: 11.82 MB / 426.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.0003828/0.4837, allocations: 401 kB / 0.6091 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4838, allocations: 8.031 kB / 0.6091 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.4838, allocations: 7.891 kB / 0.6091 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.492e-05/0.4839, allocations: 159.1 kB / 0.6092 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.484, allocations: 0 / 0.6092 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.484, allocations: 0 / 0.6092 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.4841, allocations: 33.64 kB / 0.6093 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4841, allocations: 0 / 0.6093 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4841, allocations: 3.984 kB / 0.6093 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4841, allocations: 0 / 0.6093 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.4841, allocations: 11.95 kB / 0.6093 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.4843, allocations: 149.7 kB / 0.6094 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.4843, allocations: 14.58 kB / 0.6094 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.4843, allocations: 96 / 0.6094 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4844, allocations: 64.2 kB / 0.6095 GB, free: 10.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4844, allocations: 0 / 0.6095 GB, free: 10.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.4846, allocations: 63.48 kB / 0.6096 GB, free: 10.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4846, allocations: 85.14 kB / 0.6096 GB, free: 10.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.844e-05/0.4847, allocations: 85 kB / 0.6097 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4847, allocations: 25.7 kB / 0.6097 GB, free: 10.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.4847, allocations: 80.14 kB / 0.6098 GB, free: 10.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.4848, allocations: 0 / 0.6098 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-06/0.4848, allocations: 0 / 0.6098 GB, free: 10.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4849, allocations: 318.8 kB / 0.6101 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.4849, allocations: 0 / 0.6101 GB, free: 10.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-06/0.4849, allocations: 4 kB / 0.6101 GB, free: 10.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.485, allocations: 33.64 kB / 0.6102 GB, free: 10.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.485, allocations: 0 / 0.6102 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.909e-05/0.4851, allocations: 67.33 kB / 0.6102 GB, free: 9.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4851, allocations: 33.7 kB / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4851, allocations: 0 / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4851, allocations: 0 / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.4851, allocations: 0 / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4851, allocations: 0 / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.4852, allocations: 96 / 0.6103 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4852, allocations: 8 kB / 0.6103 GB, free: 9.949 MB / 426.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 8.451e-05/0.4853, allocations: 139.5 kB / 0.6104 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.4853, allocations: 0 / 0.6104 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.4853, allocations: 3.125 kB / 0.6104 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4853, allocations: 4 kB / 0.6104 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4853, allocations: 0 / 0.6104 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4853, allocations: 0 / 0.6104 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.21e-05/0.4854, allocations: 149.6 kB / 0.6105 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4854, allocations: 4 kB / 0.6105 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4854, allocations: 7.938 kB / 0.6106 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4855, allocations: 0 / 0.6106 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4855, allocations: 4 kB / 0.6106 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4855, allocations: 0 / 0.6106 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4855, allocations: 0 / 0.6106 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.4856, allocations: 98.72 kB / 0.6107 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.4856, allocations: 81.11 kB / 0.6107 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4857, allocations: 0 / 0.6107 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.4857, allocations: 4.031 kB / 0.6107 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.4857, allocations: 0 / 0.6107 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4857, allocations: 4 kB / 0.6107 GB, free: 9.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.4857, allocations: 75.28 kB / 0.6108 GB, free: 9.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4857, allocations: 0 / 0.6108 GB, free: 9.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.4861, allocations: 87.8 kB / 0.6109 GB, free: 9.191 MB / 426.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.0004848/0.4866, allocations: 191 kB / 0.6111 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.4867, allocations: 71.33 kB / 0.6111 GB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4867, allocations: 4.062 kB / 0.6111 GB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.4868, allocations: 55.41 kB / 0.6112 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.31e-05/0.4868, allocations: 3.953 kB / 0.6112 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.487, allocations: 70.7 kB / 0.6113 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4873, allocations: 0.6809 MB / 0.6119 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.276e-06/0.4873, allocations: 4 kB / 0.6119 GB, free: 8.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.4873, allocations: 7.438 kB / 0.6119 GB, free: 8.027 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4873, allocations: 0 / 0.6119 GB, free: 8.027 MB / 426.7 MB Notification: Performance of Templates: time 0.004075/0.4914, allocations: 1.437 MB / 0.6133 GB, free: 6.59 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches