Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001375/0.001375, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001042/0.001042, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9399/0.9399, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2897/0.2897, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.104e-05, allocations: 2.312 kB / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001016/0.001037, allocations: 0.506 MB / 379.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.002665, allocations: 1.553 MB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.002686, allocations: 3.938 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.002702, allocations: 0 / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.002708, allocations: 0 / 381.3 MB, free: 15.78 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007845/0.003492, allocations: 251.3 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.122e-05/0.003534, allocations: 4 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.988e-05/0.003563, allocations: 3.938 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.003589, allocations: 0 / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.003609, allocations: 7.984 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.003616, allocations: 0 / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006613/0.004277, allocations: 0.6829 MB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.004285, allocations: 0 / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.004297, allocations: 4 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.004836, allocations: 0.7408 MB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004838, allocations: 3.938 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004839, allocations: 8 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.004842, allocations: 0 / 383 MB, free: 14.08 MB / 362.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.0002811/0.005123, allocations: 389.9 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.005158, allocations: 12.02 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.969e-05/0.005178, allocations: 0.9375 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.286e-05/0.005231, allocations: 112.6 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.005239, allocations: 384 / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-06/0.005244, allocations: 384 / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/0.005302, allocations: 59.95 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.005307, allocations: 192 / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-06/0.005312, allocations: 4.375 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.005316, allocations: 3.938 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.005329, allocations: 29.7 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.447e-05/0.005394, allocations: 101.2 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.005428, allocations: 52.7 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.005442, allocations: 37.48 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-06/0.005445, allocations: 0 / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.005474, allocations: 59.09 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.005475, allocations: 4 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.005593, allocations: 118.9 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.005624, allocations: 85.08 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.005669, allocations: 142.2 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.005678, allocations: 25.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.005706, allocations: 126.9 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.005721, allocations: 352 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.005744, allocations: 23.36 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.005865, allocations: 0.4883 MB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005879, allocations: 25.7 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.00589, allocations: 29.7 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.00593, allocations: 71.09 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005932, allocations: 0 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.605e-05/0.005988, allocations: 93.05 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.00601, allocations: 33.7 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006014, allocations: 3.938 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.006023, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.006024, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.006027, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.006038, allocations: 7.938 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006043, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.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 7.553e-05/0.006119, allocations: 182.3 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.006125, allocations: 4 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.151e-05/0.006136, allocations: 6.984 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006138, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006139, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006142, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.391e-05/0.006196, allocations: 97.2 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006197, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.006198, allocations: 4 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.006199, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.006203, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006204, allocations: 4 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006204, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.448e-05/0.006279, allocations: 139.7 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.006283, allocations: 3.938 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.006292, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.006296, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.006305, allocations: 3.984 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.006307, allocations: 4 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.006337, allocations: 119.2 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006337, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.006616, allocations: 115.9 kB / 385.7 MB, free: 10.93 MB / 362.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.0004491/0.007065, allocations: 196 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.007163, allocations: 122.5 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007165, allocations: 0 / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.0072, allocations: 96.72 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.6e-05/0.007286, allocations: 3.938 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.007427, allocations: 113.7 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.007456, allocations: 55.36 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.292e-06/0.007462, allocations: 3.984 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.007495, allocations: 70.2 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.007496, allocations: 0 / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005103/0.0126, allocations: 4.451 MB / 390.8 MB, free: 5.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.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: 3.3485970119945705]