Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 113 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.001359/0.001359, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 79.81 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3953, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001656/0.397, allocations: 499.9 kB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3991, allocations: 1.559 MB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.3992, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.3992, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-06/0.3992, allocations: 1.125 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.4002, allocations: 222.7 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.4002, allocations: 9.391 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.4003, allocations: 5.031 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.4003, allocations: 5.344 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.4003, allocations: 3.938 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.4003, allocations: 0 / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.4013, allocations: 0.7085 MB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.4013, allocations: 0 / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.4013, allocations: 1.281 kB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.4021, allocations: 0.6438 MB / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4021, allocations: 4 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4021, allocations: 0 / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4021, allocations: 1.031 kB / 0.5352 GB, free: 11.25 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.0004311/0.4026, allocations: 368.2 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4026, allocations: 8.719 kB / 0.5356 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.4026, allocations: 1.875 kB / 0.5356 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4028, allocations: 160.4 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4028, allocations: 1.531 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.4028, allocations: 1.375 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.4029, allocations: 40.12 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4029, allocations: 0 / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.4029, allocations: 1 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4029, allocations: 7.984 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.403, allocations: 5.156 kB / 0.5358 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.4031, allocations: 143.1 kB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.4031, allocations: 16.14 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.4032, allocations: 7.578 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.4032, allocations: 0 / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.4032, allocations: 69.33 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4032, allocations: 0 / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.4034, allocations: 67.14 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.4035, allocations: 77.11 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.4035, allocations: 89.86 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4035, allocations: 26.73 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.4036, allocations: 80.14 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.4036, allocations: 1.281 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4036, allocations: 16.62 kB / 0.5363 GB, free: 9.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.4037, allocations: 322.8 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.4038, allocations: 1.188 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.4038, allocations: 1.062 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.4038, allocations: 59.14 kB / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4038, allocations: 0 / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.49e-05/0.4039, allocations: 69.58 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.4039, allocations: 36.11 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.404, allocations: 4.094 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.404, allocations: 0 / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.404, allocations: 5.094 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.404, allocations: 0 / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.404, allocations: 5.125 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.404, allocations: 0 / 0.5368 GB, free: 9.391 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 8.38e-05/0.4041, allocations: 138.7 kB / 0.5369 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.4041, allocations: 3.938 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.4041, allocations: 12.05 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.4042, allocations: 4 kB / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4042, allocations: 1.188 kB / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4042, allocations: 0 / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.4043, allocations: 150.7 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4043, allocations: 1.094 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4043, allocations: 0 / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4043, allocations: 4.844 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4043, allocations: 1.156 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4043, allocations: 0 / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4043, allocations: 3.984 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.4044, allocations: 98.06 kB / 0.5372 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4045, allocations: 77.11 kB / 0.5373 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.4045, allocations: 9.109 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.4045, allocations: 1.312 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.4045, allocations: 0 / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.4045, allocations: 1.312 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.4046, allocations: 75.28 kB / 0.5374 GB, free: 8.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 0 / 0.5374 GB, free: 8.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.4052, allocations: 121.8 kB / 0.5375 GB, free: 8.727 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.0007474/0.4059, allocations: 187 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.406, allocations: 60.38 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4061, allocations: 1.344 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.4061, allocations: 54.16 kB / 0.5378 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4062, allocations: 2.656 kB / 0.5378 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.4064, allocations: 109.3 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4067, allocations: 0.674 MB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.4067, allocations: 8.812 kB / 0.5385 GB, free: 7.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4067, allocations: 4.125 kB / 0.5386 GB, free: 7.621 MB / 398.1 MB Notification: Performance of Templates: time 0.005579/0.4123, allocations: 2.703 MB / 0.5412 GB, free: 6.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches