Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007409/0.007409, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2251/0.2251, allocations: 46.93 MB / 362.3 MB, free: 4.191 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 75.88 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3049, allocations: 66.07 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001656/0.3065, allocations: 0.4963 MB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3089, allocations: 1.579 MB / 0.5647 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.3089, allocations: 0 / 0.5647 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.3089, allocations: 0 / 0.5647 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.3089, allocations: 0 / 0.5647 GB, free: 2.168 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.3099, allocations: 259.3 kB / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.3099, allocations: 4 kB / 0.565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.3099, allocations: 4 kB / 0.565 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.31, allocations: 0 / 0.565 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.495e-05/0.31, allocations: 4 kB / 0.565 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.31, allocations: 0 / 0.565 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3111, allocations: 0.8039 MB / 0.5658 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.3111, allocations: 3.984 kB / 0.5658 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.3111, allocations: 3.984 kB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.3119, allocations: 0.6535 MB / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3119, allocations: 0 / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3119, allocations: 0 / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3119, allocations: 0 / 0.5664 GB, free: 452 kB / 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.0004624/0.3124, allocations: 299.8 kB / 0.5667 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3124, allocations: 8.031 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3125, allocations: 0.9375 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3126, allocations: 106.5 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3126, allocations: 384 / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.3126, allocations: 384 / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.3127, allocations: 37.95 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3127, allocations: 0 / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3127, allocations: 3.984 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3127, allocations: 0 / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.3127, allocations: 4 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.3129, allocations: 120.8 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.3129, allocations: 14.58 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.3129, allocations: 12.89 kB / 0.567 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-06/0.3129, allocations: 0 / 0.567 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.313, allocations: 60.2 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.313, allocations: 3.938 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.3132, allocations: 71.39 kB / 0.5671 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3132, allocations: 77.11 kB / 0.5672 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.3133, allocations: 93.81 kB / 0.5673 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3133, allocations: 25.7 kB / 0.5673 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.3133, allocations: 80.14 kB / 0.5674 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3133, allocations: 0 / 0.5674 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.3134, allocations: 13.72 kB / 0.5674 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3135, allocations: 319 kB / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.3135, allocations: 0 / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.3135, allocations: 8 kB / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.3136, allocations: 64.2 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3136, allocations: 4 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.262e-05/0.3137, allocations: 59.39 kB / 0.5678 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.3137, allocations: 37.64 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3137, allocations: 0 / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3137, allocations: 4.031 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3137, allocations: 4 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3137, allocations: 0 / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.3137, allocations: 0 / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3138, allocations: 0 / 0.5679 GB, free: 14.71 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 0.0001026/0.3139, allocations: 140.4 kB / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.3139, allocations: 3.938 kB / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.3139, allocations: 6.984 kB / 0.568 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3139, allocations: 0 / 0.568 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3139, allocations: 4 kB / 0.568 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.3139, allocations: 4 kB / 0.568 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.314, allocations: 116.8 kB / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.314, allocations: 0 / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.314, allocations: 0 / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.314, allocations: 7.875 kB / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.314, allocations: 4 kB / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.314, allocations: 0 / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.314, allocations: 0 / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.3141, allocations: 94.83 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-06/0.3141, allocations: 0 / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3141, allocations: 3.938 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.3141, allocations: 3.984 kB / 0.5683 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.3141, allocations: 0 / 0.5683 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3141, allocations: 7.938 kB / 0.5683 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.3142, allocations: 76.3 kB / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3142, allocations: 0 / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.3146, allocations: 119.9 kB / 0.5685 GB, free: 14.04 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.0006979/0.3153, allocations: 173.3 kB / 0.5686 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.3154, allocations: 67.34 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3154, allocations: 0 / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.3154, allocations: 59.34 kB / 0.5687 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.3156, allocations: 4 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.3158, allocations: 106.7 kB / 0.5689 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3161, allocations: 0.6729 MB / 0.5695 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.3161, allocations: 7.438 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3161, allocations: 0 / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Templates: time 0.005165/0.3213, allocations: 2.711 MB / 0.5722 GB, free: 10.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.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.529354488942772]