Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001621/0.001621, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002196/0.002196, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 79.88 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3208, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001733/0.3225, allocations: 0.4987 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3244, allocations: 1.552 MB / 0.4993 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.3244, allocations: 3.938 kB / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.3244, allocations: 0 / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.3244, allocations: 0 / 0.4993 GB, free: 28.41 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001061/0.3255, allocations: 294.6 kB / 0.4995 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.3255, allocations: 3.031 kB / 0.4995 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.3256, allocations: 8 kB / 0.4995 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.3256, allocations: 3.25 kB / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.3256, allocations: 3.984 kB / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.3256, allocations: 0 / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.3262, allocations: 421.4 kB / 0.5 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.3262, allocations: 4 kB / 0.5 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.3263, allocations: 3.344 kB / 0.5 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.3267, allocations: 299.3 kB / 0.5003 GB, free: 28.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3267, allocations: 7.25 kB / 0.5003 GB, free: 28.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3267, allocations: 0 / 0.5003 GB, free: 28.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3267, allocations: 0 / 0.5003 GB, free: 28.17 MB / 446.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.0003247/0.327, allocations: 300.3 kB / 0.5005 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3271, allocations: 9.844 kB / 0.5006 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3271, allocations: 0.9375 kB / 0.5006 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.029e-05/0.3272, allocations: 105.8 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3272, allocations: 4.375 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.3272, allocations: 384 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.3273, allocations: 66.12 kB / 0.5007 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3273, allocations: 4 kB / 0.5007 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3273, allocations: 3.188 kB / 0.5007 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3273, allocations: 0 / 0.5007 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.3273, allocations: 25.7 kB / 0.5008 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.171e-05/0.3274, allocations: 96.77 kB / 0.5008 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.147e-05/0.3275, allocations: 50.81 kB / 0.5009 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.3275, allocations: 30.56 kB / 0.5009 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.3275, allocations: 0 / 0.5009 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3275, allocations: 63.58 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3275, allocations: 0 / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.3277, allocations: 129 kB / 0.5011 GB, free: 27.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3277, allocations: 80.27 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.919e-05/0.3278, allocations: 93.81 kB / 0.5013 GB, free: 26.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.3278, allocations: 25.7 kB / 0.5013 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.194e-05/0.3278, allocations: 84.08 kB / 0.5014 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.3278, allocations: 0 / 0.5014 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.3278, allocations: 12.94 kB / 0.5014 GB, free: 26.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.3279, allocations: 318.1 kB / 0.5017 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.3279, allocations: 28.83 kB / 0.5017 GB, free: 26.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.3279, allocations: 29.7 kB / 0.5017 GB, free: 26.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.3279, allocations: 67.42 kB / 0.5018 GB, free: 26.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3279, allocations: 0 / 0.5018 GB, free: 26.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.124e-05/0.328, allocations: 90.44 kB / 0.5019 GB, free: 26.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.328, allocations: 28.98 kB / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.328, allocations: 0 / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.328, allocations: 7.219 kB / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.328, allocations: 0 / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3281, allocations: 4 kB / 0.5019 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.3281, allocations: 4 kB / 0.5019 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3281, allocations: 0 / 0.5019 GB, free: 26.26 MB / 446.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 5.59e-05/0.3281, allocations: 141.9 kB / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.3281, allocations: 0 / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.075e-05/0.3282, allocations: 10.25 kB / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3282, allocations: 0 / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3282, allocations: 0 / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3282, allocations: 0 / 0.5021 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.282e-05/0.3282, allocations: 103.8 kB / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3282, allocations: 0 / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.3282, allocations: 0 / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3282, allocations: 0 / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3282, allocations: 0 / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3282, allocations: 7.938 kB / 0.5022 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3282, allocations: 0 / 0.5022 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.836e-05/0.3283, allocations: 116.8 kB / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-06/0.3283, allocations: 2.938 kB / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3283, allocations: 0 / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.3283, allocations: 3.938 kB / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.3283, allocations: 10.7 kB / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3283, allocations: 0 / 0.5023 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.083e-05/0.3283, allocations: 75.28 kB / 0.5024 GB, free: 25.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3283, allocations: 3.938 kB / 0.5024 GB, free: 25.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.3287, allocations: 67.2 kB / 0.5025 GB, free: 25.74 MB / 446.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.0003747/0.329, allocations: 188.4 kB / 0.5026 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.3291, allocations: 120.4 kB / 0.5028 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3291, allocations: 0 / 0.5028 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.031e-05/0.3291, allocations: 79.92 kB / 0.5028 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.3293, allocations: 2.906 kB / 0.5028 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.3294, allocations: 114.3 kB / 0.5029 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.349e-05/0.3294, allocations: 54.55 kB / 0.503 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.799e-06/0.3294, allocations: 0 / 0.503 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.3295, allocations: 11.59 kB / 0.503 GB, free: 25.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3295, allocations: 4 kB / 0.503 GB, free: 25.17 MB / 446.1 MB Notification: Performance of Templates: time 0.003856/0.3333, allocations: 1.286 MB / 0.5043 GB, free: 25.05 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.827487250906415]