Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001298/0.001298, allocations: 197.3 kB / 18.01 MB, free: 5.094 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.241/1.241, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1924/0.1924, allocations: 43.53 MB / 314.8 MB, free: 464 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.001365/0.001365, allocations: 72.27 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001821/0.1183, allocations: 0.4902 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1216, allocations: 2.13 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1216, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.1217, allocations: 7.875 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1217, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.1238, allocations: 0.7209 MB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.1239, allocations: 11.98 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.124, allocations: 0 / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.124, allocations: 0 / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.124, allocations: 4 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.124, allocations: 0 / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.1262, allocations: 1.498 MB / 0.4933 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1262, allocations: 0 / 0.4933 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1263, allocations: 8 kB / 0.4933 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.1282, allocations: 1.548 MB / 0.4948 GB, free: 5.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1282, allocations: 0 / 0.4948 GB, free: 5.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1282, allocations: 4 kB / 0.4948 GB, free: 5.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1282, allocations: 0 / 0.4948 GB, free: 5.383 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.0008098/0.129, allocations: 417.2 kB / 0.4952 GB, free: 4.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1291, allocations: 15.89 kB / 0.4952 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1291, allocations: 0.9375 kB / 0.4952 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.1292, allocations: 160.4 kB / 0.4954 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1292, allocations: 4.312 kB / 0.4954 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1293, allocations: 8.062 kB / 0.4954 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.1293, allocations: 37.69 kB / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1294, allocations: 0 / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1294, allocations: 0 / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1294, allocations: 0 / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.1294, allocations: 4 kB / 0.4954 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1295, allocations: 145.7 kB / 0.4956 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.1296, allocations: 14.58 kB / 0.4956 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.1296, allocations: 16.83 kB / 0.4956 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1296, allocations: 7.984 kB / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.1297, allocations: 56.27 kB / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1297, allocations: 0 / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001882/0.1299, allocations: 63.41 kB / 0.4957 GB, free: 4.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1299, allocations: 77.11 kB / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.872e-05/0.13, allocations: 89.86 kB / 0.4959 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.13, allocations: 25.7 kB / 0.4959 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1301, allocations: 84.12 kB / 0.496 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1301, allocations: 8.125 kB / 0.496 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1301, allocations: 13.72 kB / 0.496 GB, free: 3.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1302, allocations: 314.8 kB / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.1303, allocations: 11.88 kB / 0.4963 GB, free: 3.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-06/0.1303, allocations: 0 / 0.4963 GB, free: 3.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.1303, allocations: 60.27 kB / 0.4964 GB, free: 3.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1303, allocations: 0 / 0.4964 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.258e-05/0.1304, allocations: 67.39 kB / 0.4964 GB, free: 3.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.1304, allocations: 37.7 kB / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1305, allocations: 0 / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1305, allocations: 0 / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1305, allocations: 0 / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1305, allocations: 0 / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.1305, allocations: 4 kB / 0.4965 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1305, allocations: 4 kB / 0.4965 GB, free: 3.398 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 8.402e-05/0.1306, allocations: 143.4 kB / 0.4966 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1306, allocations: 7.969 kB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.1306, allocations: 3.125 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1307, allocations: 7.938 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1307, allocations: 0 / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1307, allocations: 0 / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.236e-05/0.1308, allocations: 141.7 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1308, allocations: 3.938 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.1308, allocations: 3.984 kB / 0.4968 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1308, allocations: 4 kB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1308, allocations: 0 / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1308, allocations: 0 / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1308, allocations: 4 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.1309, allocations: 86.88 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.131, allocations: 85.03 kB / 0.4969 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.131, allocations: 3.984 kB / 0.4969 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-06/0.131, allocations: 0 / 0.4969 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.131, allocations: 4 kB / 0.4969 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.131, allocations: 4 kB / 0.4969 GB, free: 2.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.1311, allocations: 87.25 kB / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.1321, allocations: 272 kB / 0.4973 GB, free: 2.441 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.001287/0.1334, allocations: 408.9 kB / 0.4977 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1335, allocations: 63.33 kB / 0.4977 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1335, allocations: 0 / 0.4977 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.1335, allocations: 59.41 kB / 0.4978 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1337, allocations: 3.938 kB / 0.4978 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.1339, allocations: 118.6 kB / 0.4979 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1341, allocations: 0.669 MB / 0.4986 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.1341, allocations: 11.44 kB / 0.4986 GB, free: 1.035 MB / 382.1 MB Notification: Performance of SimCode: time 1.704e-06/0.1341, allocations: 0 / 0.4986 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Templates: time 0.01125/0.1454, allocations: 6.635 MB / 0.5051 GB, free: 10.39 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches