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.001439/0.001439, allocations: 81.81 kB / 21.42 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.001581/0.001581, allocations: 164 kB / 24.82 MB, free: 9.324 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 1.016/1.016, allocations: 177 MB / 205.1 MB, free: 5.438 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.2915/0.2915, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.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.353e-06/1.353e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.723e-05, allocations: 2.312 kB / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001005/0.001022, allocations: 0.4943 MB / 379.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.003405, allocations: 2.121 MB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.003434, allocations: 0 / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.003451, allocations: 0 / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.117e-06/0.003461, allocations: 0 / 381.8 MB, free: 15.21 MB / 362.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.001485/0.004945, allocations: 0.7595 MB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.004995, allocations: 0 / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.005032, allocations: 4 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.005064, allocations: 0 / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.005085, allocations: 3.984 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.005093, allocations: 0 / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.006965, allocations: 1.56 MB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.006974, allocations: 4 kB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.006988, allocations: 0 / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.008495, allocations: 1.871 MB / 386 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.008499, allocations: 0 / 386 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0085, allocations: 0 / 386 MB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.008504, allocations: 0 / 386 MB, free: 11 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.0004258/0.00893, allocations: 469.2 kB / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.008969, allocations: 8.031 kB / 386.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.008993, allocations: 4.938 kB / 386.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.349e-05/0.009047, allocations: 112.6 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.009056, allocations: 384 / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-06/0.009063, allocations: 4.375 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.578e-05/0.009129, allocations: 55.95 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.009135, allocations: 192 / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.00914, allocations: 384 / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.009146, allocations: 3.938 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.009162, allocations: 29.7 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.622e-05/0.009239, allocations: 89.27 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.009285, allocations: 60.73 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.009303, allocations: 41.38 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.009308, allocations: 4.062 kB / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.009343, allocations: 59.09 kB / 386.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.009344, allocations: 0 / 386.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.009484, allocations: 110.8 kB / 387.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.009517, allocations: 85.03 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.009556, allocations: 146.2 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.009565, allocations: 29.7 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.00959, allocations: 126.9 kB / 387.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.009604, allocations: 4.422 kB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.009625, allocations: 23.38 kB / 387.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.009732, allocations: 0.4883 MB / 387.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.009745, allocations: 25.7 kB / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.009758, allocations: 25.7 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.009798, allocations: 67.08 kB / 388.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009799, allocations: 0 / 388.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.513e-05/0.009855, allocations: 93.05 kB / 388.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.009883, allocations: 29.7 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.009889, allocations: 3.938 kB / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.009897, allocations: 8.094 kB / 388.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.009898, allocations: 0 / 388.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.009902, allocations: 3.984 kB / 388.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.009912, allocations: 3.938 kB / 388.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.009916, allocations: 0 / 388.2 MB, free: 8.523 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 6.52e-05/0.009982, allocations: 186.3 kB / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-06/0.009985, allocations: 0 / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-06/0.009995, allocations: 6.984 kB / 388.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009997, allocations: 4 kB / 388.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.009998, allocations: 0 / 388.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.01, allocations: 4 kB / 388.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.711e-05/0.01005, allocations: 97.19 kB / 388.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.01005, allocations: 0 / 388.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-07/0.01005, allocations: 0 / 388.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01005, allocations: 4 kB / 388.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-06/0.01005, allocations: 0 / 388.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.01005, allocations: 0 / 388.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.31e-07/0.01005, allocations: 0 / 388.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.325e-05/0.01013, allocations: 135.7 kB / 388.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.01013, allocations: 7.984 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.01014, allocations: 8.031 kB / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-06/0.01015, allocations: 0 / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.01016, allocations: 0 / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.01016, allocations: 0 / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.01019, allocations: 119.2 kB / 388.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01019, allocations: 0 / 388.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.01065, allocations: 295.6 kB / 389.1 MB, free: 7.598 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.0008679/0.01152, allocations: 0.5105 MB / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.01161, allocations: 122.5 kB / 389.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01162, allocations: 4.062 kB / 389.7 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.01165, allocations: 96.72 kB / 389.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.47e-05/0.01173, allocations: 7.875 kB / 389.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.01188, allocations: 109.7 kB / 389.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.01191, allocations: 59.34 kB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.061e-06/0.01192, allocations: 0 / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.01195, allocations: 70.2 kB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01195, allocations: 0 / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of Templates: time 0.01063/0.02258, allocations: 9.749 MB / 399.8 MB, free: 12.76 MB / 378.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.710729309357703]