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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 107.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 80.16 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001582/0.2878, allocations: 487.6 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.2912, allocations: 2.139 MB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2913, allocations: 0 / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2913, allocations: 0 / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.2913, allocations: 0 / 0.5342 GB, free: 11.56 MB / 398.1 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.002544/0.2939, allocations: 0.7246 MB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.294, allocations: 10.33 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.294, allocations: 5.281 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.294, allocations: 0 / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.294, allocations: 1.375 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2941, allocations: 0 / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.2967, allocations: 1.507 MB / 0.5364 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.2967, allocations: 1.281 kB / 0.5364 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.2967, allocations: 0.9688 kB / 0.5364 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.2991, allocations: 1.551 MB / 0.5379 GB, free: 9.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2991, allocations: 3.938 kB / 0.5379 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2991, allocations: 0 / 0.5379 GB, free: 9.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2991, allocations: 0 / 0.5379 GB, free: 9.613 MB / 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.0009391/0.3001, allocations: 417.5 kB / 0.5383 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3001, allocations: 8.875 kB / 0.5383 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3001, allocations: 1.875 kB / 0.5383 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.3003, allocations: 164.4 kB / 0.5385 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3003, allocations: 1.594 kB / 0.5385 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3003, allocations: 4.125 kB / 0.5385 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.3004, allocations: 31.84 kB / 0.5385 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3004, allocations: 1.281 kB / 0.5385 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3004, allocations: 0 / 0.5385 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3004, allocations: 0 / 0.5385 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.3004, allocations: 2.031 kB / 0.5385 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3006, allocations: 150.8 kB / 0.5387 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.3007, allocations: 20.67 kB / 0.5387 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.3007, allocations: 14.53 kB / 0.5387 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-06/0.3007, allocations: 0 / 0.5387 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3007, allocations: 57.8 kB / 0.5388 GB, free: 8.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.3008, allocations: 3.938 kB / 0.5388 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.3009, allocations: 70.52 kB / 0.5388 GB, free: 8.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.301, allocations: 85.22 kB / 0.5389 GB, free: 8.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.738e-05/0.301, allocations: 91.42 kB / 0.539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.301, allocations: 25.7 kB / 0.539 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.3011, allocations: 80.14 kB / 0.5391 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3011, allocations: 5.125 kB / 0.5391 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3011, allocations: 11.03 kB / 0.5391 GB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3012, allocations: 320.2 kB / 0.5394 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.3012, allocations: 1.625 kB / 0.5394 GB, free: 7.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-06/0.3013, allocations: 8 kB / 0.5394 GB, free: 7.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.3013, allocations: 59.58 kB / 0.5395 GB, free: 7.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3013, allocations: 0 / 0.5395 GB, free: 7.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.993e-05/0.3014, allocations: 69.86 kB / 0.5396 GB, free: 7.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3014, allocations: 31.45 kB / 0.5396 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3014, allocations: 1.219 kB / 0.5396 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3015, allocations: 0 / 0.5396 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3015, allocations: 0 / 0.5396 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3015, allocations: 1.594 kB / 0.5396 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.3015, allocations: 4.094 kB / 0.5396 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3015, allocations: 5.875 kB / 0.5396 GB, free: 7.711 MB / 398.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 8.82e-05/0.3016, allocations: 140.9 kB / 0.5397 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.3016, allocations: 5.219 kB / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-06/0.3016, allocations: 3.125 kB / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3016, allocations: 0 / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3017, allocations: 0 / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.3017, allocations: 82.36 kB / 0.5398 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3017, allocations: 1.75 kB / 0.5398 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.3017, allocations: 4 kB / 0.5398 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.3017, allocations: 1.312 kB / 0.5398 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001239/0.3019, allocations: 206.5 kB / 0.54 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001354/0.302, allocations: 235.1 kB / 0.5402 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.554e-05/0.302, allocations: 1.875 kB / 0.5402 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.3021, allocations: 79.34 kB / 0.5403 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3021, allocations: 1.531 kB / 0.5403 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.3043, allocations: 449.5 kB / 0.5407 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003352/0.3047, allocations: 0.5758 MB / 0.5413 GB, free: 6.004 MB / 398.1 MB Notification: Performance of Templates: time 0.01309/0.3178, allocations: 7.331 MB / 0.5485 GB, free: 72 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)