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.001368/0.001368, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001417/0.001417, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.457/1.457, 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.2326/0.2326, allocations: 43.53 MB / 314.8 MB, free: 472 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.001554/0.001554, allocations: 71.89 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001929/0.1266, allocations: 0.494 MB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1301, allocations: 2.126 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1301, allocations: 0 / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.1301, allocations: 0 / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.1302, allocations: 0 / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.1327, allocations: 0.7365 MB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.1328, allocations: 0 / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1328, allocations: 0 / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.1329, allocations: 3.938 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.1329, allocations: 8 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-06/0.1329, allocations: 0 / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.1354, allocations: 1.502 MB / 0.4933 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1354, allocations: 4 kB / 0.4933 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1355, allocations: 4 kB / 0.4933 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.1377, allocations: 1.544 MB / 0.4948 GB, free: 5.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1377, allocations: 0 / 0.4948 GB, free: 5.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1378, allocations: 8 kB / 0.4948 GB, free: 5.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1378, allocations: 0 / 0.4948 GB, free: 5.387 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.0009804/0.1387, allocations: 417.2 kB / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1388, allocations: 11.89 kB / 0.4952 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1388, allocations: 4.875 kB / 0.4952 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.139, allocations: 164.4 kB / 0.4954 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.139, allocations: 384 / 0.4954 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.139, allocations: 8.125 kB / 0.4954 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.1391, allocations: 29.7 kB / 0.4954 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1392, allocations: 0 / 0.4954 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1392, allocations: 0 / 0.4954 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1392, allocations: 0 / 0.4954 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.1392, allocations: 11.92 kB / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1394, allocations: 141.7 kB / 0.4956 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.1394, allocations: 18.61 kB / 0.4956 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.1395, allocations: 12.8 kB / 0.4956 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1395, allocations: 4 kB / 0.4956 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.1395, allocations: 56.27 kB / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1395, allocations: 0 / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.1398, allocations: 67.39 kB / 0.4957 GB, free: 4.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1398, allocations: 77.11 kB / 0.4958 GB, free: 4.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.1399, allocations: 93.86 kB / 0.4959 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1399, allocations: 25.7 kB / 0.4959 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.1399, allocations: 84.14 kB / 0.496 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.14, allocations: 4.125 kB / 0.496 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.14, allocations: 13.72 kB / 0.496 GB, free: 3.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1402, allocations: 318.8 kB / 0.4963 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.1402, allocations: 0 / 0.4963 GB, free: 3.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.1402, allocations: 0 / 0.4963 GB, free: 3.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.1403, allocations: 60.27 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1403, allocations: 0 / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.573e-05/0.1404, allocations: 75.34 kB / 0.4964 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.1404, allocations: 33.69 kB / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1404, allocations: 0 / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1405, allocations: 3.938 kB / 0.4965 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1405, allocations: 0 / 0.4965 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1405, allocations: 0 / 0.4965 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1405, allocations: 4 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1405, allocations: 0 / 0.4965 GB, free: 3.41 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.0001214/0.1406, allocations: 135.5 kB / 0.4966 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.1407, allocations: 11.91 kB / 0.4966 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.1407, allocations: 7.125 kB / 0.4966 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1407, allocations: 3.984 kB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1407, allocations: 0 / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1407, allocations: 0 / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1408, allocations: 145.7 kB / 0.4968 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1409, allocations: 7.938 kB / 0.4968 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-06/0.1409, allocations: 4 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1409, allocations: 0 / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1409, allocations: 0 / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1409, allocations: 0 / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1409, allocations: 4 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.141, allocations: 94.8 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1411, allocations: 81.05 kB / 0.4969 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1411, allocations: 3.984 kB / 0.4969 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.1411, allocations: 0 / 0.4969 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.1411, allocations: 4 kB / 0.4969 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1411, allocations: 0 / 0.4969 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.1412, allocations: 83.31 kB / 0.497 GB, free: 2.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 0 / 0.497 GB, free: 2.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001246/0.1424, allocations: 268 kB / 0.4973 GB, free: 2.461 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.001892/0.1443, allocations: 419.2 kB / 0.4977 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1445, allocations: 63.39 kB / 0.4977 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1445, allocations: 0 / 0.4977 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.1445, allocations: 59.34 kB / 0.4978 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1447, allocations: 3.938 kB / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.145, allocations: 118.7 kB / 0.4979 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1453, allocations: 0.6729 MB / 0.4986 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.1453, allocations: 11.44 kB / 0.4986 GB, free: 1.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1453, allocations: 0 / 0.4986 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Templates: time 0.01278/0.1581, allocations: 6.627 MB / 0.5051 GB, free: 10.4 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