Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 46.94 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 0.4974 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001652/0.3439, allocations: 497 kB / 0.5623 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3464, allocations: 1.633 MB / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.3464, allocations: 0 / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3464, allocations: 4 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.3464, allocations: 3.938 kB / 0.5639 GB, free: 2.273 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3475, allocations: 287.2 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.3476, allocations: 8 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.3476, allocations: 4 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.3476, allocations: 3.984 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.3476, allocations: 4 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-06/0.3476, allocations: 4 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.3486, allocations: 0.6042 MB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.3486, allocations: 0 / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3486, allocations: 0 / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.3492, allocations: 337.5 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3492, allocations: 0 / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3492, allocations: 0 / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3492, allocations: 0 / 0.5651 GB, free: 1.039 MB / 398.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.0004181/0.3497, allocations: 299.7 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3497, allocations: 8.031 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3497, allocations: 4.938 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.3498, allocations: 106.5 kB / 0.5655 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3498, allocations: 4.375 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3499, allocations: 384 / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.35, allocations: 37.95 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.35, allocations: 3.984 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.35, allocations: 4 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.35, allocations: 3.938 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.35, allocations: 0 / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.3501, allocations: 116.8 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.3502, allocations: 18.56 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.3502, allocations: 12.95 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3502, allocations: 0 / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.3503, allocations: 68.14 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3503, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001943/0.3505, allocations: 63.39 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3505, allocations: 77.11 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.3506, allocations: 97.75 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3506, allocations: 29.7 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3507, allocations: 80.14 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.3507, allocations: 4 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.3507, allocations: 13.84 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3508, allocations: 310.8 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.3509, allocations: 4 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.3509, allocations: 0 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.91e-05/0.3509, allocations: 68.19 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3509, allocations: 0 / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.245e-05/0.351, allocations: 59.41 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.351, allocations: 37.64 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.351, allocations: 4.094 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3511, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3511, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3511, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.3511, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3511, allocations: 11.98 kB / 0.5666 GB, free: 15.29 MB / 414.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 9.757e-05/0.3512, allocations: 135.5 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.3512, allocations: 7.938 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.081e-05/0.3512, allocations: 3 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3512, allocations: 4 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3512, allocations: 0 / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3512, allocations: 3.938 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.3513, allocations: 120.8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3513, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3513, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3513, allocations: 3.938 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3513, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3513, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3513, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.3514, allocations: 94.83 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.3514, allocations: 3.938 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3514, allocations: 3.938 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.3515, allocations: 4 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.3515, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3515, allocations: 3.938 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.3516, allocations: 75.28 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3516, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3518, allocations: 67.83 kB / 0.5671 GB, free: 14.68 MB / 414.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.0004986/0.3523, allocations: 199.6 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.3525, allocations: 59.39 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3525, allocations: 0 / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3525, allocations: 55.41 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.3526, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.3528, allocations: 110.7 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3531, allocations: 0.673 MB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.3532, allocations: 11.44 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3532, allocations: 4 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Templates: time 0.003603/0.3568, allocations: 1.268 MB / 0.5694 GB, free: 12.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.19511566706933]