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/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.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/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 201 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008275, allocations: 99.94 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3718/0.3718, allocations: 44.81 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 4 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4191, allocations: 62.95 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.5478, allocations: 90.91 MB / 0.6072 GB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5481, allocations: 75.89 kB / 0.6073 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05659/0.6047, allocations: 22.56 MB / 0.6293 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.6047, allocations: 4 kB / 0.6293 GB, free: 7.738 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.6048, allocations: 0 / 0.6293 GB, free: 7.738 MB / 442.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.0007049/0.6055, allocations: 437.1 kB / 0.6297 GB, free: 7.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.6055, allocations: 12.02 kB / 0.6297 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.6056, allocations: 0.9375 kB / 0.6297 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.6057, allocations: 164.4 kB / 0.6299 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6057, allocations: 384 / 0.6299 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.6057, allocations: 8.312 kB / 0.6299 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.6058, allocations: 26.27 kB / 0.6299 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6059, allocations: 192 / 0.6299 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6059, allocations: 3.938 kB / 0.6299 GB, free: 7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6059, allocations: 4 kB / 0.6299 GB, free: 6.996 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.6059, allocations: 3.938 kB / 0.6299 GB, free: 6.992 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.6061, allocations: 149.7 kB / 0.6301 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.6061, allocations: 22.61 kB / 0.6301 GB, free: 6.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.6062, allocations: 4.859 kB / 0.6301 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.6062, allocations: 0 / 0.6301 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.6062, allocations: 56.27 kB / 0.6301 GB, free: 6.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.6062, allocations: 3.938 kB / 0.6301 GB, free: 6.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002558/0.6065, allocations: 75.31 kB / 0.6302 GB, free: 6.598 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.6066, allocations: 85.23 kB / 0.6303 GB, free: 6.496 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.6066, allocations: 93.86 kB / 0.6304 GB, free: 6.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6067, allocations: 25.7 kB / 0.6304 GB, free: 6.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.6067, allocations: 80.14 kB / 0.6305 GB, free: 6.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.6067, allocations: 0 / 0.6305 GB, free: 6.281 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.6067, allocations: 0 / 0.6305 GB, free: 6.281 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6069, allocations: 310.8 kB / 0.6308 GB, free: 5.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.6069, allocations: 0 / 0.6308 GB, free: 5.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-06/0.6069, allocations: 4 kB / 0.6308 GB, free: 5.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.607, allocations: 64.31 kB / 0.6309 GB, free: 5.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.607, allocations: 4 kB / 0.6309 GB, free: 5.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.505e-05/0.6071, allocations: 63.34 kB / 0.6309 GB, free: 5.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.6071, allocations: 33.7 kB / 0.6309 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6071, allocations: 0 / 0.6309 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6071, allocations: 3.938 kB / 0.631 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.6072, allocations: 3.984 kB / 0.631 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6072, allocations: 0 / 0.631 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.6072, allocations: 4.031 kB / 0.631 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.6072, allocations: 0 / 0.631 GB, free: 5.758 MB / 442.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.976e-05/0.6073, allocations: 135.5 kB / 0.6311 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.6073, allocations: 0 / 0.6311 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.6073, allocations: 7.062 kB / 0.6311 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6073, allocations: 0 / 0.6311 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6073, allocations: 3.938 kB / 0.6311 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6074, allocations: 4 kB / 0.6311 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.6075, allocations: 149.7 kB / 0.6312 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6075, allocations: 0 / 0.6312 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.6075, allocations: 4 kB / 0.6312 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6075, allocations: 0 / 0.6312 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6075, allocations: 3.938 kB / 0.6313 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6075, allocations: 4 kB / 0.6313 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6075, allocations: 0 / 0.6313 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6076, allocations: 90.77 kB / 0.6313 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.6077, allocations: 77.11 kB / 0.6314 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.6077, allocations: 19.95 kB / 0.6314 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.6077, allocations: 0 / 0.6314 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.6077, allocations: 0 / 0.6314 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.6077, allocations: 0 / 0.6314 GB, free: 5.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.6078, allocations: 75.28 kB / 0.6315 GB, free: 5.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6078, allocations: 0 / 0.6315 GB, free: 5.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.6084, allocations: 171.7 kB / 0.6317 GB, free: 4.918 MB / 442.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.001005/0.6094, allocations: 338.3 kB / 0.632 GB, free: 4.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.6095, allocations: 63.34 kB / 0.6321 GB, free: 4.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6095, allocations: 0 / 0.6321 GB, free: 4.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.6096, allocations: 59.39 kB / 0.6321 GB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.6097, allocations: 3.938 kB / 0.6321 GB, free: 4.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.6099, allocations: 70.77 kB / 0.6322 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6102, allocations: 0.673 MB / 0.6328 GB, free: 3.648 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.326e-06/0.6102, allocations: 4.125 kB / 0.6328 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.6103, allocations: 11.44 kB / 0.6329 GB, free: 3.637 MB / 442.7 MB Notification: Performance of SimCode: time 5.82e-07/0.6103, allocations: 0 / 0.6329 GB, free: 3.637 MB / 442.7 MB Notification: Performance of Templates: time 0.01063/0.6209, allocations: 4.416 MB / 0.6372 GB, free: 15.22 MB / 458.7 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","../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches