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.00109/0.00109, allocations: 112.7 kB / 17.04 MB, free: 6.078 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.001033/0.001033, allocations: 195 kB / 17.97 MB, free: 5.16 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.337/1.337, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.1981/0.1981, allocations: 43.51 MB / 314.7 MB, free: 488 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.00151/0.00151, allocations: 69.56 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09401, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001514/0.09555, allocations: 498.2 kB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.09712, allocations: 1.592 MB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.09716, allocations: 0 / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.09718, allocations: 4 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-06/0.0972, allocations: 0 / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.09793, allocations: 267.3 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.09799, allocations: 11.92 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.09803, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.09804, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.737e-05/0.09806, allocations: 3.938 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-06/0.09807, allocations: 0 / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.09857, allocations: 499 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.09859, allocations: 0 / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.09861, allocations: 0 / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.09892, allocations: 303.4 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.09893, allocations: 4 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09894, allocations: 0 / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.09894, allocations: 0 / 445.1 MB, free: 2.992 MB / 318.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.0002341/0.09918, allocations: 369.3 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.09922, allocations: 19.83 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.09925, allocations: 0.9375 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.633e-05/0.0993, allocations: 160.4 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.09931, allocations: 4.359 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.09933, allocations: 384 / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.148e-05/0.09939, allocations: 34.02 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.0994, allocations: 3.938 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.09941, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.09942, allocations: 4 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.09944, allocations: 4 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.996e-05/0.09952, allocations: 145.7 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.09955, allocations: 22.5 kB / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.09957, allocations: 8.953 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.09958, allocations: 0 / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.09961, allocations: 60.2 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.09962, allocations: 4 kB / 445.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.09975, allocations: 63.41 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.09978, allocations: 88.97 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.609e-05/0.09981, allocations: 89.86 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.09982, allocations: 29.7 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-06/0.09983, allocations: 80.14 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.09985, allocations: 3.938 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.09988, allocations: 9.719 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.09991, allocations: 319 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.09993, allocations: 0 / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.09994, allocations: 0 / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.09997, allocations: 64.27 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09998, allocations: 0 / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.957e-05/0.1, allocations: 63.39 kB / 446.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1001, allocations: 33.64 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1001, allocations: 4.031 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1001, allocations: 4 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1001, allocations: 0 / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1001, allocations: 3.984 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.1001, allocations: 4 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1001, allocations: 0 / 446.8 MB, free: 1.051 MB / 318.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 4.529e-05/0.1002, allocations: 143.5 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.1002, allocations: 7.938 kB / 446.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-06/0.1002, allocations: 3.125 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1002, allocations: 4 kB / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1002, allocations: 0 / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1002, allocations: 0 / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.236e-05/0.1003, allocations: 153.6 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1003, allocations: 4 kB / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1003, allocations: 0 / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1003, allocations: 3.938 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1003, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1003, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1003, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.221e-05/0.1004, allocations: 98.77 kB / 447.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.1004, allocations: 77.11 kB / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1004, allocations: 3.938 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.1004, allocations: 8 kB / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1005, allocations: 3.984 kB / 447.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1005, allocations: 0 / 447.3 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.608e-06/0.1005, allocations: 75.28 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1005, allocations: 0 / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1008, allocations: 72.02 kB / 447.4 MB, free: 304 kB / 318.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.0003245/0.1011, allocations: 190.5 kB / 447.6 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.795e-05/0.1012, allocations: 59.39 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1012, allocations: 0 / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.1012, allocations: 59.41 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.1013, allocations: 2.812 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.1015, allocations: 80.92 kB / 447.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1017, allocations: 0.6768 MB / 448.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.11e-06/0.1017, allocations: 128 / 448.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.004e-05/0.1018, allocations: 11.44 kB / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1018, allocations: 0 / 448.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Templates: time 0.003551/0.1053, allocations: 1.272 MB / 449.8 MB, free: 13.89 MB / 334.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 -s gbode -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