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.001656/0.001656, allocations: 114.4 kB / 17.09 MB, free: 5.957 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.001793/0.001793, allocations: 198 kB / 18.02 MB, free: 5.039 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.469/1.469, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2144/0.2144, allocations: 43.52 MB / 314.8 MB, free: 456 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.001607/0.001607, allocations: 73.45 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001541/0.1082, allocations: 0.495 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1103, allocations: 1.586 MB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.1104, allocations: 4 kB / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1104, allocations: 0 / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.1104, allocations: 0 / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.1114, allocations: 279.1 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.1115, allocations: 4 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1115, allocations: 0 / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.1116, allocations: 0 / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.1116, allocations: 4 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.1116, allocations: 4 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007825/0.1124, allocations: 491 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1124, allocations: 7.938 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1124, allocations: 0 / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.113, allocations: 303.4 kB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.113, allocations: 3.938 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.113, allocations: 0 / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.113, allocations: 7.938 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.0004348/0.1134, allocations: 369.3 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1135, allocations: 11.89 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1135, allocations: 0.9375 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.1136, allocations: 168.3 kB / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1136, allocations: 384 / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1137, allocations: 4.375 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.535e-05/0.1137, allocations: 30.02 kB / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1138, allocations: 0 / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1138, allocations: 4 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1138, allocations: 0 / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.1138, allocations: 7.938 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1139, allocations: 145.7 kB / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.114, allocations: 26.55 kB / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.114, allocations: 8.844 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.114, allocations: 0 / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.1141, allocations: 64.2 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1141, allocations: 0 / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.1143, allocations: 67.39 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1143, allocations: 81.11 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.1144, allocations: 93.86 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1144, allocations: 25.7 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1144, allocations: 80.14 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1145, allocations: 0 / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.1145, allocations: 13.84 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1146, allocations: 314.8 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.1146, allocations: 0 / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.1147, allocations: 0 / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.1147, allocations: 68.25 kB / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1147, allocations: 0 / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.786e-05/0.1148, allocations: 63.34 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1148, allocations: 29.7 kB / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1149, allocations: 8.031 kB / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1149, allocations: 0 / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/0.1149, allocations: 4 kB / 0.4932 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1149, allocations: 0 / 0.4932 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.1149, allocations: 11.98 kB / 0.4932 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1149, allocations: 0 / 0.4932 GB, free: 6.695 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.0001114/0.115, allocations: 147.5 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.1151, allocations: 0 / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.1151, allocations: 7.062 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1151, allocations: 4 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1151, allocations: 3.938 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.1151, allocations: 77.11 kB / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1151, allocations: 4 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.1152, allocations: 3.984 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1152, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001224/0.1153, allocations: 198 kB / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001387/0.1155, allocations: 244.5 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.703e-05/0.1155, allocations: 4 kB / 0.4939 GB, free: 5.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.1155, allocations: 75.28 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of Backend: time 2.6e-07/0.1155, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1162, allocations: 228 kB / 0.4942 GB, free: 5.617 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004117/0.1167, allocations: 0.591 MB / 0.4948 GB, free: 4.965 MB / 382.1 MB Notification: Performance of Templates: time 0.00441/0.1211, allocations: 1.296 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