Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 196.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3834/0.3834, allocations: 39.92 MB / 309.3 MB, free: 9.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.91 kB / 376.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 56.88 MB / 433.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005601/0.1811, allocations: 3.355 MB / 437.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.1845, allocations: 1.571 MB / 438.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.185, allocations: 19.88 kB / 438.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.1857, allocations: 111.2 kB / 438.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.1862, allocations: 163 kB / 439 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1874, allocations: 499.2 kB / 439.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000958/0.1884, allocations: 0.8691 MB / 440.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.1888, allocations: 222.3 kB / 440.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.1893, allocations: 322.4 kB / 440.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.1898, allocations: 378.1 kB / 441.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.1898, allocations: 32 kB / 441.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.1899, allocations: 32 kB / 441.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1901, allocations: 179.2 kB / 441.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.1904, allocations: 321.8 kB / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.191, allocations: 0.7045 MB / 442.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1911, allocations: 0 / 442.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1911, allocations: 0 / 442.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1911, allocations: 0 / 442.5 MB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002532/0.1936, allocations: 1.172 MB / 443.7 MB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1937, allocations: 8.031 kB / 443.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1938, allocations: 95.89 kB / 443.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.1948, allocations: 0.5545 MB / 444.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.1948, allocations: 41.38 kB / 444.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.1949, allocations: 60.03 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1961, allocations: 0.6134 MB / 445.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.1961, allocations: 4 kB / 445.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.1962, allocations: 16 kB / 445.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1962, allocations: 12 kB / 445.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1972, allocations: 465.8 kB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.2009, allocations: 2.655 MB / 448.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.2019, allocations: 0.5506 MB / 448.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2024, allocations: 254.4 kB / 449 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.2025, allocations: 4 kB / 449 MB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2025, allocations: 46.58 kB / 449.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.2025, allocations: 0 / 449.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002508/0.2051, allocations: 1.127 MB / 450.2 MB, free: 3.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.2052, allocations: 136.5 kB / 450.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2062, allocations: 0.6567 MB / 451 MB, free: 2.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.2063, allocations: 41.64 kB / 451 MB, free: 2.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.2066, allocations: 364 kB / 451.4 MB, free: 2.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.2068, allocations: 177.5 kB / 451.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.207, allocations: 114.2 kB / 451.7 MB, free: 2.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2072, allocations: 334 kB / 452 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.2079, allocations: 271.3 kB / 452.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.2086, allocations: 424.6 kB / 452.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.21, allocations: 0.6816 MB / 453.3 MB, free: 412 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.21, allocations: 4 kB / 453.3 MB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.2959/0.506, allocations: 0.785 MB / 454.1 MB, free: 51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.5061, allocations: 7.969 kB / 454.1 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5061, allocations: 2.719 kB / 454.1 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5061, allocations: 8.656 kB / 454.2 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.5068, allocations: 155.1 kB / 454.3 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.5068, allocations: 15.47 kB / 454.3 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.5074, allocations: 76.12 kB / 454.4 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.5074, allocations: 22.88 kB / 454.4 MB, free: 51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007218/0.5082, allocations: 412.6 kB / 454.8 MB, free: 50.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005602/0.5087, allocations: 415.2 kB / 455.2 MB, free: 50.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/0.5098, allocations: 0.6583 MB / 455.9 MB, free: 50.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.5098, allocations: 0 / 455.9 MB, free: 50.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001329/0.5111, allocations: 0.7818 MB / 456.7 MB, free: 50.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.5112, allocations: 6.562 kB / 456.7 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5112, allocations: 8.031 kB / 456.7 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.5112, allocations: 8.156 kB / 456.7 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.5117, allocations: 151.2 kB / 456.8 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5118, allocations: 6.469 kB / 456.8 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.5123, allocations: 71.48 kB / 456.9 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.5123, allocations: 24.44 kB / 456.9 MB, free: 50.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001583/0.5125, allocations: 227.1 kB / 457.2 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5126, allocations: 80.52 kB / 457.2 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.5128, allocations: 90.45 kB / 457.3 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5128, allocations: 5.375 kB / 457.3 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5128, allocations: 3.219 kB / 457.3 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5129, allocations: 7.281 kB / 457.3 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.514, allocations: 0.8453 MB / 458.2 MB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5141, allocations: 3.094 kB / 458.2 MB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.5147, allocations: 104.1 kB / 458.3 MB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5147, allocations: 10.38 kB / 458.3 MB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.5147, allocations: 18.34 kB / 458.3 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5148, allocations: 0 / 458.3 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5148, allocations: 6.531 kB / 458.3 MB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.5165, allocations: 1.128 MB / 459.4 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.5167, allocations: 195.2 kB / 459.6 MB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.5168, allocations: 21.41 kB / 459.7 MB, free: 49.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.5173, allocations: 46.53 kB / 459.7 MB, free: 49.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5174, allocations: 43.05 kB / 459.7 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5174, allocations: 13 kB / 459.8 MB, free: 49.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005899/0.518, allocations: 466 kB / 460.2 MB, free: 49.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.518, allocations: 0 / 460.2 MB, free: 49.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000744/0.5188, allocations: 194.5 kB / 460.4 MB, free: 49.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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.0001519/0.5189, allocations: 118 kB / 460.5 MB, free: 49.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.5208, allocations: 0.953 MB / 461.5 MB, free: 48.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5208, allocations: 0 / 461.5 MB, free: 48.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.5213, allocations: 282.3 kB / 461.8 MB, free: 48.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5224, allocations: 175.8 kB / 461.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.5249, allocations: 1.749 MB / 463.7 MB, free: 47.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.5253, allocations: 0.9475 MB / 464.6 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.5257, allocations: 150.3 kB / 464.8 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.5259, allocations: 45.81 kB / 464.8 MB, free: 47.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5259, allocations: 0 / 464.8 MB, free: 47.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01132/0.5372, allocations: 6.875 MB / 471.7 MB, free: 46.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1)