Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002396/0.002396, allocations: 114.5 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.01904/0.01904, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.824/2.824, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4616/0.4616, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003101/0.003101, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.782, allocations: 62.43 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.003192/0.7852, allocations: 493 kB / 0.5321 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007637/0.7929, allocations: 2.143 MB / 0.5342 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.793, allocations: 0 / 0.5342 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.7931, allocations: 0 / 0.5342 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.151e-05/0.7932, allocations: 0 / 0.5342 GB, free: 11.53 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004871/0.7981, allocations: 0.7275 MB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.7982, allocations: 1.375 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.7983, allocations: 5.375 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.7984, allocations: 0 / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.7984, allocations: 1.375 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.7984, allocations: 0 / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/0.8043, allocations: 1.507 MB / 0.5364 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.8043, allocations: 5.047 kB / 0.5364 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.8044, allocations: 0 / 0.5364 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.8087, allocations: 1.556 MB / 0.5379 GB, free: 9.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8088, allocations: 0 / 0.5379 GB, free: 9.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8088, allocations: 3.938 kB / 0.5379 GB, free: 9.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.8088, allocations: 1.438 kB / 0.5379 GB, free: 9.578 MB / 398.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.001677/0.8105, allocations: 408.4 kB / 0.5383 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/0.8106, allocations: 9.531 kB / 0.5383 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.8107, allocations: 6.094 kB / 0.5383 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.8109, allocations: 160.4 kB / 0.5385 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.8109, allocations: 384 / 0.5385 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.811, allocations: 9.281 kB / 0.5385 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.8111, allocations: 31.88 kB / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.8112, allocations: 1 kB / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.8112, allocations: 0 / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.8112, allocations: 0 / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.8113, allocations: 2.25 kB / 0.5385 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.8115, allocations: 150.6 kB / 0.5387 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.8116, allocations: 20.02 kB / 0.5387 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.8117, allocations: 18.31 kB / 0.5387 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.8117, allocations: 1.5 kB / 0.5387 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.8118, allocations: 60.2 kB / 0.5388 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.825e-06/0.8118, allocations: 1.562 kB / 0.5388 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002917/0.8121, allocations: 62.5 kB / 0.5388 GB, free: 8.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.8122, allocations: 77.11 kB / 0.5389 GB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.8123, allocations: 97.84 kB / 0.539 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.8124, allocations: 30.95 kB / 0.539 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.8125, allocations: 80.14 kB / 0.5391 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.8125, allocations: 5.531 kB / 0.5391 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.8126, allocations: 11.03 kB / 0.5391 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8128, allocations: 316.4 kB / 0.5394 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.8128, allocations: 0 / 0.5394 GB, free: 7.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.8128, allocations: 1.719 kB / 0.5394 GB, free: 7.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.798e-05/0.813, allocations: 67.52 kB / 0.5395 GB, free: 7.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.813, allocations: 0 / 0.5395 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001541/0.8131, allocations: 74.02 kB / 0.5395 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.8132, allocations: 30.86 kB / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8132, allocations: 0 / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.8133, allocations: 1.875 kB / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.8133, allocations: 0 / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.8133, allocations: 0 / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.8133, allocations: 1.656 kB / 0.5396 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8134, allocations: 0 / 0.5396 GB, free: 7.688 MB / 398.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 0.0001674/0.8135, allocations: 146.1 kB / 0.5397 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.8136, allocations: 3.938 kB / 0.5397 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.8136, allocations: 5 kB / 0.5397 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8136, allocations: 3.938 kB / 0.5397 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8136, allocations: 0 / 0.5397 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8137, allocations: 0 / 0.5397 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.8139, allocations: 152 kB / 0.5399 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8139, allocations: 3.938 kB / 0.5399 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.8139, allocations: 3.984 kB / 0.5399 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.8139, allocations: 1.156 kB / 0.5399 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.8139, allocations: 4 kB / 0.5399 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.814, allocations: 1.094 kB / 0.5399 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.814, allocations: 0 / 0.5399 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.8142, allocations: 93.8 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.8143, allocations: 88.78 kB / 0.5401 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.8143, allocations: 2.125 kB / 0.5401 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.8144, allocations: 0 / 0.5401 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.8144, allocations: 5.688 kB / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.8144, allocations: 0 / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.8145, allocations: 75.28 kB / 0.5401 GB, free: 7.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8145, allocations: 1.906 kB / 0.5401 GB, free: 7.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002641/0.8171, allocations: 271.8 kB / 0.5404 GB, free: 7 MB / 398.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.004441/0.8216, allocations: 412.4 kB / 0.5408 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.822, allocations: 57.72 kB / 0.5409 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.8221, allocations: 64 / 0.5409 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.8222, allocations: 61.81 kB / 0.5409 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.8224, allocations: 8.469 kB / 0.5409 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.8229, allocations: 110.7 kB / 0.541 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.8233, allocations: 0.6698 MB / 0.5417 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.8234, allocations: 9.594 kB / 0.5417 GB, free: 5.781 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.8234, allocations: 0 / 0.5417 GB, free: 5.781 MB / 398.1 MB Notification: Performance of Templates: time 0.02486/0.8483, allocations: 6.636 MB / 0.5482 GB, free: 304 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches