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.001432/0.001432, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000936/0.0009361, allocations: 103.9 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3198/0.3198, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3453, allocations: 63.25 MB / 0.5192 GB, free: 43.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.458, allocations: 91.08 MB / 0.6081 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4583, allocations: 63.97 kB / 0.6082 GB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06761/0.5259, allocations: 25.95 MB / 0.6335 GB, free: 4.535 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.5259, allocations: 0 / 0.6335 GB, free: 4.535 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.5259, allocations: 3.938 kB / 0.6335 GB, free: 4.531 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.0006238/0.5266, allocations: 436.9 kB / 0.6339 GB, free: 4.051 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5266, allocations: 16.03 kB / 0.634 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.5267, allocations: 3.953 kB / 0.634 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.5268, allocations: 163.1 kB / 0.6341 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5268, allocations: 0 / 0.6341 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.5268, allocations: 0 / 0.6341 GB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/0.5269, allocations: 29.7 kB / 0.6341 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5269, allocations: 0 / 0.6341 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.5269, allocations: 0 / 0.6341 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5269, allocations: 0 / 0.6341 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.5269, allocations: 0 / 0.6341 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.5271, allocations: 161.6 kB / 0.6343 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.5271, allocations: 18.52 kB / 0.6343 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-06/0.5271, allocations: 0 / 0.6343 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.5272, allocations: 60.36 kB / 0.6344 GB, free: 3.488 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5272, allocations: 0 / 0.6344 GB, free: 3.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.5274, allocations: 63.39 kB / 0.6344 GB, free: 3.414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.5274, allocations: 89.17 kB / 0.6345 GB, free: 3.309 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.252e-05/0.5275, allocations: 85 kB / 0.6346 GB, free: 3.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.5275, allocations: 29.64 kB / 0.6346 GB, free: 3.184 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.5275, allocations: 80.14 kB / 0.6347 GB, free: 3.102 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5275, allocations: 3.984 kB / 0.6347 GB, free: 3.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.5275, allocations: 0 / 0.6347 GB, free: 3.098 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5277, allocations: 314.8 kB / 0.635 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.5277, allocations: 4 kB / 0.635 GB, free: 2.777 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-06/0.5277, allocations: 0 / 0.635 GB, free: 2.777 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.5277, allocations: 33.77 kB / 0.635 GB, free: 2.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5277, allocations: 0 / 0.635 GB, free: 2.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.528e-05/0.5278, allocations: 63.39 kB / 0.6351 GB, free: 2.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.5278, allocations: 29.7 kB / 0.6351 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5279, allocations: 0 / 0.6351 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5279, allocations: 4 kB / 0.6351 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.5279, allocations: 0 / 0.6351 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5279, allocations: 0 / 0.6351 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.5279, allocations: 0 / 0.6351 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5279, allocations: 7.969 kB / 0.6351 GB, free: 2.617 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.164e-05/0.528, allocations: 151.4 kB / 0.6353 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.528, allocations: 0 / 0.6353 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.528, allocations: 7.125 kB / 0.6353 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.528, allocations: 0 / 0.6353 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.528, allocations: 0 / 0.6353 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5281, allocations: 0 / 0.6353 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.5282, allocations: 149.6 kB / 0.6354 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5282, allocations: 4 kB / 0.6354 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/0.5282, allocations: 3.984 kB / 0.6354 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5282, allocations: 4 kB / 0.6355 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5282, allocations: 3.984 kB / 0.6355 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.5282, allocations: 0 / 0.6355 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5282, allocations: 4 kB / 0.6355 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.344e-05/0.5283, allocations: 82.84 kB / 0.6355 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.5284, allocations: 85.05 kB / 0.6356 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5284, allocations: 4 kB / 0.6356 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-06/0.5284, allocations: 4.031 kB / 0.6356 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.5284, allocations: 3.938 kB / 0.6356 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5284, allocations: 0 / 0.6356 GB, free: 2.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.409e-05/0.5284, allocations: 79.22 kB / 0.6357 GB, free: 1.938 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5284, allocations: 0 / 0.6357 GB, free: 1.938 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.5289, allocations: 151.9 kB / 0.6359 GB, free: 1.789 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.0008405/0.5297, allocations: 353.7 kB / 0.6362 GB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.5298, allocations: 63.39 kB / 0.6362 GB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5299, allocations: 0 / 0.6362 GB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.5299, allocations: 55.41 kB / 0.6363 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.737e-05/0.53, allocations: 1.203 kB / 0.6363 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.5302, allocations: 78.69 kB / 0.6364 GB, free: 1.211 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5304, allocations: 0.6731 MB / 0.637 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.5304, allocations: 0 / 0.637 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.5305, allocations: 15.56 kB / 0.6371 GB, free: 0.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.307e-05/0.5305, allocations: 0 / 0.6371 GB, free: 0.5 MB / 442.7 MB Notification: Performance of Templates: time 0.007579/0.5381, allocations: 4.547 MB / 0.6415 GB, free: 11.95 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/jenkins/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