Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007897/0.0007897, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001855, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007364/0.0007364, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009087/0.001645, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9646/0.9646, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08767/1.052, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.81 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0289/0.2746, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.542e-05, allocations: 3.297 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001597/0.001622, allocations: 0.5414 MB / 291.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003328, allocations: 1.611 MB / 292.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.003341, allocations: 0 / 292.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.649e-06/0.003346, allocations: 0 / 292.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-06/0.003347, allocations: 0 / 292.7 MB, free: 5.934 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0007991/0.004146, allocations: 306.4 kB / 293 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.004221, allocations: 7.484 kB / 293.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.004265, allocations: 0 / 293.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.004307, allocations: 3.094 kB / 293.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.004336, allocations: 3.938 kB / 293.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.004345, allocations: 0 / 293.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.004952, allocations: 389.8 kB / 293.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.004963, allocations: 3.984 kB / 293.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.004979, allocations: 3.938 kB / 293.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.005313, allocations: 259.4 kB / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.005332, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.005333, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.005351, allocations: 0 / 293.7 MB, free: 5.191 MB / 282.7 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.0003474/0.005698, allocations: 297.9 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.00573, allocations: 8.031 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.005761, allocations: 0.9375 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.907e-05/0.00582, allocations: 113.8 kB / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.005829, allocations: 384 / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-06/0.005834, allocations: 384 / 294.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.005913, allocations: 59.95 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005921, allocations: 192 / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.005927, allocations: 384 / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005934, allocations: 3.938 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.005957, allocations: 33.7 kB / 294.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.309e-05/0.00603, allocations: 53.05 kB / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.006079, allocations: 48.25 kB / 294.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.006096, allocations: 42.56 kB / 294.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.006101, allocations: 3.984 kB / 294.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.006142, allocations: 56.27 kB / 294.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.006143, allocations: 0 / 294.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.006292, allocations: 114.8 kB / 294.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.006337, allocations: 81.09 kB / 294.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.006578, allocations: 89.86 kB / 294.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.006589, allocations: 29.7 kB / 294.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.006614, allocations: 84.14 kB / 294.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006634, allocations: 0 / 294.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.006664, allocations: 13.84 kB / 294.8 MB, free: 3.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.006768, allocations: 318.8 kB / 295.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.00679, allocations: 25.7 kB / 295.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.006808, allocations: 29.7 kB / 295.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.006862, allocations: 64.25 kB / 295.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.006865, allocations: 0 / 295.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.928e-05/0.006935, allocations: 85.05 kB / 295.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.00698, allocations: 29.7 kB / 295.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.006988, allocations: 7.984 kB / 295.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007, allocations: 4.094 kB / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-06/0.007006, allocations: 0 / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.00701, allocations: 0 / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.007031, allocations: 0 / 295.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.007042, allocations: 3.938 kB / 295.4 MB, free: 3.27 MB / 282.7 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.089e-05/0.007133, allocations: 139.5 kB / 295.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.00714, allocations: 0 / 295.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.007155, allocations: 7 kB / 295.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007156, allocations: 4 kB / 295.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00716, allocations: 3.984 kB / 295.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.007164, allocations: 0 / 295.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.282e-05/0.007227, allocations: 70.52 kB / 295.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.00723, allocations: 4 kB / 295.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.007231, allocations: 0 / 295.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.007236, allocations: 4 kB / 295.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007238, allocations: 0 / 295.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.007243, allocations: 0 / 295.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007244, allocations: 3.938 kB / 295.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007245, allocations: 0 / 295.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.007342, allocations: 120.4 kB / 295.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.007355, allocations: 0 / 295.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.007363, allocations: 4.031 kB / 295.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.007375, allocations: 0 / 295.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007381, allocations: 4 kB / 295.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.054e-06/0.007388, allocations: 4.859 kB / 295.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007388, allocations: 0 / 295.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.007664, allocations: 67.8 kB / 295.8 MB, free: 2.777 MB / 282.7 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.0005194/0.008183, allocations: 183.1 kB / 296 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.008314, allocations: 115.7 kB / 296.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.00832, allocations: 0 / 296.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.008352, allocations: 93.89 kB / 296.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.431e-05/0.008406, allocations: 12.06 kB / 296.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.008567, allocations: 119.1 kB / 296.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.008599, allocations: 55.36 kB / 296.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.953e-06/0.008606, allocations: 0 / 296.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.008641, allocations: 51.38 kB / 296.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008641, allocations: 0 / 296.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of Templates: time 0.00343/0.01207, allocations: 1.495 MB / 297.9 MB, free: 0.5781 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8316150214523077]