Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001044/0.001044, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2561/0.2561, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 65.62 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2052, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.003282/0.2086, allocations: 0.498 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004275/0.2129, allocations: 1.596 MB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.2129, allocations: 4 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.2131, allocations: 0 / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.838e-06/0.2131, allocations: 0 / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.2147, allocations: 271.2 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.2148, allocations: 4 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.2149, allocations: 0 / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.2149, allocations: 3.984 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.018e-05/0.215, allocations: 4 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.215, allocations: 0 / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2164, allocations: 499 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2164, allocations: 3.938 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2164, allocations: 4 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2175, allocations: 303.4 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.2175, allocations: 4 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2175, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.2176, allocations: 4 kB / 0.4916 GB, free: 8.621 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.0007586/0.2183, allocations: 365.3 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.556e-05/0.2184, allocations: 11.89 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.2185, allocations: 0.9375 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2187, allocations: 164.3 kB / 0.4921 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2187, allocations: 4.312 kB / 0.4921 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2187, allocations: 12.3 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2189, allocations: 30.02 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2189, allocations: 4 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2189, allocations: 0 / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.219, allocations: 3.984 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.219, allocations: 11.94 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.2193, allocations: 141.7 kB / 0.4923 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.2194, allocations: 26.53 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.2194, allocations: 4.859 kB / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2194, allocations: 0 / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.688e-05/0.2195, allocations: 64.2 kB / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.2195, allocations: 0 / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002848/0.2198, allocations: 63.47 kB / 0.4925 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.22, allocations: 81.09 kB / 0.4926 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.2201, allocations: 93.86 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2201, allocations: 25.7 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.2202, allocations: 80.14 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2202, allocations: 128 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.2203, allocations: 17.72 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.2206, allocations: 314.8 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.2206, allocations: 3.938 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.2206, allocations: 0 / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2208, allocations: 60.27 kB / 0.4931 GB, free: 6.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2208, allocations: 0 / 0.4931 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001492/0.2209, allocations: 67.39 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.221, allocations: 37.73 kB / 0.4932 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.221, allocations: 0 / 0.4932 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2211, allocations: 0 / 0.4932 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.038e-06/0.2211, allocations: 4 kB / 0.4932 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2211, allocations: 0 / 0.4932 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.2211, allocations: 0 / 0.4932 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2211, allocations: 0 / 0.4932 GB, free: 6.691 MB / 382.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.0001617/0.2213, allocations: 151.4 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.2213, allocations: 3.938 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.2214, allocations: 7.125 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2214, allocations: 0 / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2214, allocations: 4 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2214, allocations: 0 / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2217, allocations: 149.7 kB / 0.4935 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2217, allocations: 0 / 0.4935 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.2217, allocations: 0 / 0.4935 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2217, allocations: 7.875 kB / 0.4935 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2217, allocations: 3.938 kB / 0.4935 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2217, allocations: 0 / 0.4935 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2217, allocations: 0 / 0.4935 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.222, allocations: 94.83 kB / 0.4936 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.222, allocations: 81.11 kB / 0.4937 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2221, allocations: 7.938 kB / 0.4937 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.2221, allocations: 0 / 0.4937 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.2222, allocations: 0 / 0.4937 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2222, allocations: 3.938 kB / 0.4937 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.2222, allocations: 75.28 kB / 0.4938 GB, free: 6 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2222, allocations: 4.031 kB / 0.4938 GB, free: 5.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.2229, allocations: 63.98 kB / 0.4939 GB, free: 5.934 MB / 382.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.0008854/0.2238, allocations: 181.8 kB / 0.494 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.224, allocations: 63.39 kB / 0.4941 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2241, allocations: 0 / 0.4941 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.2241, allocations: 55.41 kB / 0.4942 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.2244, allocations: 0 / 0.4942 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.2248, allocations: 118.5 kB / 0.4943 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2253, allocations: 0.6808 MB / 0.4949 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.2253, allocations: 7.438 kB / 0.4949 GB, free: 4.742 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2253, allocations: 0 / 0.4949 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Templates: time 0.005689/0.231, allocations: 1.279 MB / 0.4962 GB, free: 3.465 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches