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.001788/0.001788, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002165, allocations: 201.8 kB / 18.92 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.931/2.931, allocations: 227.4 MB / 247.1 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5559/0.5559, allocations: 46.09 MB / 344.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003033/0.003033, allocations: 76.69 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2959, allocations: 62.44 MB / 480.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.003314/0.2993, allocations: 0.5411 MB / 480.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.3038, allocations: 1.56 MB / 482.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.3039, allocations: 0 / 482.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.304, allocations: 0 / 482.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.308e-06/0.304, allocations: 0 / 482.2 MB, free: 3.457 MB / 350.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.001631/0.3057, allocations: 207.6 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.3058, allocations: 8 kB / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.3059, allocations: 0 / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.3059, allocations: 3.938 kB / 482.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.611e-05/0.306, allocations: 3.938 kB / 482.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.306, allocations: 4 kB / 482.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.3078, allocations: 0.7025 MB / 483.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.3079, allocations: 0 / 483.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.3079, allocations: 0 / 483.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009056/0.3089, allocations: 447.3 kB / 483.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3089, allocations: 0 / 483.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.3089, allocations: 0 / 483.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3089, allocations: 4 kB / 483.6 MB, free: 2.09 MB / 350.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.0008796/0.3098, allocations: 369.3 kB / 484 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.751e-05/0.3099, allocations: 8.031 kB / 484 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.31, allocations: 0.9375 kB / 484 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3102, allocations: 164.4 kB / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3102, allocations: 384 / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3103, allocations: 4.312 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3104, allocations: 37.94 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3105, allocations: 8 kB / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3105, allocations: 0 / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3105, allocations: 0 / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.3106, allocations: 3.984 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.3108, allocations: 145.7 kB / 484.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.3109, allocations: 18.61 kB / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.311, allocations: 8.797 kB / 484.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.311, allocations: 0 / 484.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-05/0.3111, allocations: 72.27 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.275e-06/0.3111, allocations: 0 / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003111/0.3115, allocations: 67.39 kB / 484.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.3116, allocations: 77.11 kB / 484.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.3117, allocations: 89.86 kB / 484.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3117, allocations: 25.7 kB / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3118, allocations: 80.14 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3118, allocations: 128 / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3119, allocations: 21.72 kB / 484.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3121, allocations: 314.8 kB / 485.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.3122, allocations: 3.938 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.3122, allocations: 0 / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3123, allocations: 60.27 kB / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3123, allocations: 0 / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001288/0.3125, allocations: 63.41 kB / 485.2 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.3126, allocations: 44.06 kB / 485.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3126, allocations: 0 / 485.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3126, allocations: 4 kB / 485.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-06/0.3127, allocations: 3.938 kB / 485.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3127, allocations: 3.984 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.3127, allocations: 0 / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3127, allocations: 0 / 485.3 MB, free: 160 kB / 350.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 0.0001603/0.3129, allocations: 139.5 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.313, allocations: 3.938 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.313, allocations: 7.172 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.313, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.313, allocations: 3.984 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3131, allocations: 3.938 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3132, allocations: 145.7 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3133, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.3133, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3133, allocations: 3.938 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3133, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3133, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3133, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3135, allocations: 94.83 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.3136, allocations: 81.02 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.3137, allocations: 11.94 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.3137, allocations: 3.984 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.3137, allocations: 0 / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3137, allocations: 0 / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.3138, allocations: 79.22 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-07/0.3138, allocations: 4.031 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008011/0.3146, allocations: 116 kB / 486 MB, free: 15.36 MB / 366.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.00138/0.316, allocations: 197.4 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.3162, allocations: 55.41 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3163, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.3163, allocations: 55.41 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3165, allocations: 0 / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.317, allocations: 114.6 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.3176, allocations: 0.669 MB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3177, allocations: 7.562 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3177, allocations: 4 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01126/0.329, allocations: 2.693 MB / 489.7 MB, free: 11.48 MB / 366.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