Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001092/0.001092, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001186/0.001186, allocations: 164.1 kB / 25.61 MB, free: 8.859 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.9213/0.9213, allocations: 177 MB / 205.9 MB, free: 4.43 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.154/0.154, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.719e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009711/0.0009883, allocations: 0.4966 MB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.002879, allocations: 2.11 MB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.002899, allocations: 0 / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.002913, allocations: 0 / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.062e-06/0.002919, allocations: 0 / 382.6 MB, free: 20.14 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.004183, allocations: 0.7556 MB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.004232, allocations: 4 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.004267, allocations: 3.938 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.00429, allocations: 0 / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.645e-05/0.004307, allocations: 0 / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-06/0.004313, allocations: 4 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.005532, allocations: 1.556 MB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.005539, allocations: 3.938 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.221e-05/0.005551, allocations: 0 / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.006592, allocations: 1.875 MB / 386.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006594, allocations: 4 kB / 386.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006595, allocations: 4 kB / 386.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.006598, allocations: 0 / 386.8 MB, free: 15.93 MB / 314.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.0003623/0.00696, allocations: 453.4 kB / 387.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.006988, allocations: 12.03 kB / 387.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.007011, allocations: 4.875 kB / 387.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.876e-05/0.007039, allocations: 108.6 kB / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.007048, allocations: 384 / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.007054, allocations: 4.375 kB / 387.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.686e-05/0.0071, allocations: 63.89 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.007106, allocations: 192 / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.00711, allocations: 384 / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.007114, allocations: 11.94 kB / 387.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-06/0.007123, allocations: 25.7 kB / 387.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.606e-05/0.007169, allocations: 93.3 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.007197, allocations: 48.77 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-06/0.007207, allocations: 41.36 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.00721, allocations: 4.062 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.007228, allocations: 63.03 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.007229, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001015/0.00733, allocations: 114.8 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.007355, allocations: 85.22 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.076e-05/0.007376, allocations: 142.2 kB / 388.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.466e-06/0.00738, allocations: 29.7 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.007389, allocations: 130.9 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.007402, allocations: 3.938 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.007419, allocations: 15.38 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.007453, allocations: 0.4883 MB / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-06/0.00746, allocations: 25.7 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.007466, allocations: 29.7 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.00749, allocations: 71.02 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007491, allocations: 4.062 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.577e-05/0.007527, allocations: 89.11 kB / 388.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.007545, allocations: 29.7 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.007549, allocations: 4 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.007555, allocations: 0 / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.007557, allocations: 3.984 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/0.007559, allocations: 0 / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.007569, allocations: 4.281 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.007573, allocations: 0 / 389 MB, free: 13.46 MB / 314.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 3.323e-05/0.007606, allocations: 186.3 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-06/0.00761, allocations: 3.938 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-06/0.007616, allocations: 3 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007618, allocations: 7.938 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007619, allocations: 0 / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.007621, allocations: 0 / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.105e-05/0.007652, allocations: 101.1 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.007652, allocations: 0 / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.007653, allocations: 0 / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.007653, allocations: 4 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.007657, allocations: 0 / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.007657, allocations: 4 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.007658, allocations: 0 / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.419e-05/0.007702, allocations: 135.8 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-06/0.007705, allocations: 0 / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.007713, allocations: 4 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-06/0.007717, allocations: 0 / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-06/0.007724, allocations: 0 / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.007725, allocations: 0 / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.025e-05/0.007736, allocations: 123.2 kB / 389.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007736, allocations: 0 / 389.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004757/0.008211, allocations: 299.5 kB / 389.8 MB, free: 12.53 MB / 314.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.0008148/0.009026, allocations: 0.5221 MB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.024e-05/0.009087, allocations: 114.5 kB / 390.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009088, allocations: 0 / 390.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.0091, allocations: 92.78 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.089e-05/0.009181, allocations: 7.922 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001126/0.009294, allocations: 111.6 kB / 390.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.668e-05/0.009311, allocations: 63.2 kB / 390.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.358e-06/0.009315, allocations: 0 / 390.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.009335, allocations: 74.33 kB / 390.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of SimCode: time 3.7e-07/0.009335, allocations: 0 / 390.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Templates: time 0.009764/0.0191, allocations: 9.74 MB / 400.5 MB, free: 1.703 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.759152339305729]