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/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.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/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 205.9 kB / 18.74 MB, free: 4.312 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 / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4607, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001609/0.4624, allocations: 492.4 kB / 0.5314 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.4646, allocations: 1.615 MB / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.4646, allocations: 0 / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.4647, allocations: 0 / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.4647, allocations: 5.156 kB / 0.533 GB, free: 11.96 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.4655, allocations: 264.4 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.4656, allocations: 5.281 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.4656, allocations: 1.25 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.4657, allocations: 1.281 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.288e-05/0.4657, allocations: 1.5 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.4657, allocations: 0 / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.4664, allocations: 0.4981 MB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-06/0.4664, allocations: 0 / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.4664, allocations: 1.375 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.4669, allocations: 309.3 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4669, allocations: 0 / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.4669, allocations: 0 / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4669, allocations: 1.375 kB / 0.5341 GB, free: 11.41 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.0003877/0.4673, allocations: 379.3 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4673, allocations: 8.625 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.4674, allocations: 1.969 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4675, allocations: 164.4 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4675, allocations: 1.469 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.4675, allocations: 1.469 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.4676, allocations: 36.19 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4676, allocations: 0 / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4677, allocations: 1.094 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4677, allocations: 4 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.4677, allocations: 8.828 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.4678, allocations: 147.8 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.4679, allocations: 16.83 kB / 0.5348 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.4679, allocations: 9.828 kB / 0.5348 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.4679, allocations: 0 / 0.5348 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.468, allocations: 65.28 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.468, allocations: 4 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000195/0.4682, allocations: 63.84 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4683, allocations: 77.11 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/0.4683, allocations: 94.88 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4683, allocations: 25.7 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.4684, allocations: 85.2 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4684, allocations: 3.938 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.4684, allocations: 15.86 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4686, allocations: 316.3 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.4687, allocations: 0 / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-06/0.4687, allocations: 1.125 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.4687, allocations: 60.48 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4687, allocations: 0 / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.78e-05/0.4688, allocations: 70.61 kB / 0.5357 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.4688, allocations: 34.45 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4689, allocations: 1.312 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4689, allocations: 4.094 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.4689, allocations: 0 / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4689, allocations: 1.344 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.4689, allocations: 4 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4689, allocations: 1.125 kB / 0.5357 GB, free: 9.527 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.675e-05/0.469, allocations: 137.7 kB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.469, allocations: 5.031 kB / 0.5358 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-06/0.469, allocations: 7.109 kB / 0.5358 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4691, allocations: 1.062 kB / 0.5358 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4691, allocations: 4 kB / 0.5358 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4691, allocations: 0 / 0.5358 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.4692, allocations: 147.9 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4692, allocations: 0 / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.4692, allocations: 0 / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4692, allocations: 5.188 kB / 0.536 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4692, allocations: 7.969 kB / 0.536 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4692, allocations: 5.344 kB / 0.536 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4692, allocations: 0 / 0.536 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.4693, allocations: 94.03 kB / 0.5361 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.4694, allocations: 81.09 kB / 0.5362 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4694, allocations: 5.344 kB / 0.5362 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.4694, allocations: 5.031 kB / 0.5362 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.4694, allocations: 0 / 0.5362 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.4694, allocations: 1.312 kB / 0.5362 GB, free: 8.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.4695, allocations: 75.28 kB / 0.5363 GB, free: 8.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4695, allocations: 0 / 0.5363 GB, free: 8.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.4698, allocations: 72.45 kB / 0.5363 GB, free: 8.852 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.0004478/0.4703, allocations: 185.4 kB / 0.5365 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.4704, allocations: 57.09 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4704, allocations: 0 / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.4704, allocations: 58.91 kB / 0.5366 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.4705, allocations: 8.969 kB / 0.5366 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.4707, allocations: 79.72 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.471, allocations: 0.6701 MB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.431e-06/0.471, allocations: 4.125 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.471, allocations: 8.656 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4711, allocations: 0 / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of Templates: time 0.004286/0.4753, allocations: 1.287 MB / 0.5386 GB, free: 7.113 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches