Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001306, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3065, allocations: 60.82 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001507/0.3081, allocations: 0.5045 MB / 0.52 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.3106, allocations: 2.088 MB / 0.5221 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.3107, allocations: 4 kB / 0.5221 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3107, allocations: 0 / 0.5221 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.3107, allocations: 1 kB / 0.5221 GB, free: 1.836 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.002019/0.3128, allocations: 0.7151 MB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.3128, allocations: 6.281 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.3129, allocations: 2 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.3129, allocations: 4 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.3129, allocations: 5.219 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-06/0.3129, allocations: 0 / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.3154, allocations: 1.504 MB / 0.5243 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.3154, allocations: 0 / 0.5243 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.3155, allocations: 1.5 kB / 0.5243 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.3172, allocations: 1.549 MB / 0.5258 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3172, allocations: 1.531 kB / 0.5258 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3172, allocations: 0 / 0.5258 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3172, allocations: 0 / 0.5258 GB, free: 0.5469 MB / 382.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.0005747/0.3178, allocations: 420.7 kB / 0.5262 GB, free: 112 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3178, allocations: 9.281 kB / 0.5262 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3179, allocations: 2.469 kB / 0.5262 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.318, allocations: 160.4 kB / 0.5263 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.318, allocations: 4.312 kB / 0.5263 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.318, allocations: 5.281 kB / 0.5264 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/0.3181, allocations: 32.45 kB / 0.5264 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3181, allocations: 0 / 0.5264 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3181, allocations: 0 / 0.5264 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3181, allocations: 9.391 kB / 0.5264 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.3181, allocations: 1.344 kB / 0.5264 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.3183, allocations: 150.9 kB / 0.5265 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.3183, allocations: 16.17 kB / 0.5266 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.3183, allocations: 9.984 kB / 0.5266 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3184, allocations: 0 / 0.5266 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.3184, allocations: 61.7 kB / 0.5266 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3184, allocations: 4 kB / 0.5266 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.3186, allocations: 66.83 kB / 0.5267 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3186, allocations: 78.77 kB / 0.5268 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.3187, allocations: 89.86 kB / 0.5268 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3187, allocations: 25.7 kB / 0.5269 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.3187, allocations: 80.14 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3188, allocations: 1.219 kB / 0.527 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.3188, allocations: 12.28 kB / 0.527 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3189, allocations: 315 kB / 0.5273 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.3189, allocations: 9.172 kB / 0.5273 GB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.3189, allocations: 1.469 kB / 0.5273 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.319, allocations: 66.86 kB / 0.5273 GB, free: 14.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.319, allocations: 0 / 0.5273 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.443e-05/0.3191, allocations: 61.97 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.3191, allocations: 35.38 kB / 0.5274 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3191, allocations: 5.812 kB / 0.5274 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3191, allocations: 4 kB / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3191, allocations: 0 / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3192, allocations: 0 / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.3192, allocations: 5.688 kB / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3192, allocations: 0 / 0.5274 GB, free: 14.65 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.786e-05/0.3193, allocations: 138.4 kB / 0.5276 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.3193, allocations: 3.938 kB / 0.5276 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.3193, allocations: 4.406 kB / 0.5276 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3193, allocations: 0 / 0.5276 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3193, allocations: 4 kB / 0.5276 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3193, allocations: 5.641 kB / 0.5276 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.901e-05/0.3194, allocations: 142.9 kB / 0.5277 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3194, allocations: 3.938 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-06/0.3194, allocations: 3.938 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3195, allocations: 5.25 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3195, allocations: 0 / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3195, allocations: 1.406 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3195, allocations: 0 / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.926e-05/0.3196, allocations: 96.81 kB / 0.5278 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3196, allocations: 86 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3196, allocations: 1.062 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.3197, allocations: 1.25 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.3197, allocations: 3.984 kB / 0.5279 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3197, allocations: 0.9375 kB / 0.5279 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.28e-05/0.3197, allocations: 75.28 kB / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3197, allocations: 0 / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001143/0.3209, allocations: 276.9 kB / 0.5283 GB, free: 13.96 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.001377/0.3222, allocations: 416.9 kB / 0.5287 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3224, allocations: 60.72 kB / 0.5287 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3224, allocations: 0 / 0.5287 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.3224, allocations: 58.77 kB / 0.5288 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.3226, allocations: 10.06 kB / 0.5288 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.3227, allocations: 101.1 kB / 0.5289 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.323, allocations: 0.6776 MB / 0.5295 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.323, allocations: 10.25 kB / 0.5295 GB, free: 12.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.323, allocations: 0 / 0.5295 GB, free: 12.75 MB / 398.1 MB Notification: Performance of Templates: time 0.01256/0.3356, allocations: 6.624 MB / 0.536 GB, free: 9.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches