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.001328/0.001329, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001312/0.001312, allocations: 194.9 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.454/1.454, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.206/0.206, allocations: 43.52 MB / 314.8 MB, free: 460 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.001477/0.001477, allocations: 73.45 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001701/0.1135, allocations: 0.4911 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1155, allocations: 1.586 MB / 0.4906 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1155, allocations: 4 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.1155, allocations: 0 / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.1155, allocations: 0 / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.1164, allocations: 283.1 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.1165, allocations: 4 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1166, allocations: 0 / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.1166, allocations: 0 / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.946e-05/0.1166, allocations: 4 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.1166, allocations: 0 / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.1173, allocations: 498.8 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.1174, allocations: 7.875 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.1174, allocations: 3.938 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1178, allocations: 303.4 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1178, allocations: 4 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1178, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1178, allocations: 4 kB / 0.4916 GB, free: 8.633 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.0003589/0.1182, allocations: 365.3 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1182, allocations: 15.89 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1183, allocations: 0.9375 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.1184, allocations: 164.3 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1184, allocations: 384 / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1184, allocations: 384 / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.987e-05/0.1185, allocations: 38 kB / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1185, allocations: 0 / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1185, allocations: 4 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1185, allocations: 0 / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.1186, allocations: 3.938 kB / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.1187, allocations: 153.6 kB / 0.4923 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.1187, allocations: 14.58 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.1188, allocations: 12.94 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.1188, allocations: 0 / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1188, allocations: 64.2 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1188, allocations: 0 / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.119, allocations: 67.34 kB / 0.4925 GB, free: 7.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.119, allocations: 81.09 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.562e-05/0.1191, allocations: 89.86 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1191, allocations: 25.7 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.1191, allocations: 80.14 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1192, allocations: 4 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.1192, allocations: 13.84 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1193, allocations: 310.8 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1193, allocations: 4 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.1193, allocations: 0 / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.1194, allocations: 64.27 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1194, allocations: 0 / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.004e-05/0.1195, allocations: 63.33 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1195, allocations: 33.8 kB / 0.4932 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1195, allocations: 7.938 kB / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1195, allocations: 0 / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1195, allocations: 0 / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1195, allocations: 0 / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.1196, allocations: 7.984 kB / 0.4932 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1196, allocations: 4 kB / 0.4932 GB, free: 6.703 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 7.862e-05/0.1197, allocations: 151.4 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.1197, allocations: 0 / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.1197, allocations: 15.06 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1197, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1197, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.1197, allocations: 81.11 kB / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1198, allocations: 0 / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1198, allocations: 0 / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.1198, allocations: 4 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001202/0.1199, allocations: 198 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001318/0.1201, allocations: 248.4 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.43e-05/0.1201, allocations: 0 / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.1201, allocations: 75.28 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of Backend: time 2.8e-07/0.1201, allocations: 0 / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.1208, allocations: 220.2 kB / 0.4942 GB, free: 5.625 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003398/0.1211, allocations: 0.591 MB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of Templates: time 0.003652/0.1248, allocations: 1.307 MB / 0.496 GB, free: 3.672 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