Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00132/0.00132, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.598/1.598, allocations: 194.4 MB / 202.4 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 108.8 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2013/0.2013, allocations: 39.96 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.773e-05, allocations: 4 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4057, allocations: 81.21 MB / 0.517 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.406, allocations: 71.95 kB / 0.5171 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.4213, allocations: 5.741 MB / 0.5227 GB, free: 6.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4214, allocations: 0 / 0.5227 GB, free: 6.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.4214, allocations: 12 kB / 0.5227 GB, free: 6.508 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009548/0.4224, allocations: 0.5726 MB / 0.5232 GB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4224, allocations: 8.031 kB / 0.5232 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4225, allocations: 47.47 kB / 0.5233 GB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.423, allocations: 279.3 kB / 0.5236 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.423, allocations: 12 kB / 0.5236 GB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.4231, allocations: 20 kB / 0.5236 GB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004507/0.4236, allocations: 197.5 kB / 0.5238 GB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.4241, allocations: 302.4 kB / 0.5241 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.4242, allocations: 11.84 kB / 0.5241 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.4242, allocations: 0 / 0.5241 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4242, allocations: 11.98 kB / 0.5241 GB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.4258, allocations: 1.008 MB / 0.5251 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.4262, allocations: 312 kB / 0.5254 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.4264, allocations: 146.8 kB / 0.5255 GB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.4265, allocations: 4 kB / 0.5255 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4265, allocations: 50.48 kB / 0.5256 GB, free: 3.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.4265, allocations: 0 / 0.5256 GB, free: 3.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003038/0.4296, allocations: 2.119 MB / 0.5276 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.4297, allocations: 122.8 kB / 0.5277 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4298, allocations: 155.2 kB / 0.5279 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4299, allocations: 25.7 kB / 0.5279 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.43, allocations: 193.1 kB / 0.5281 GB, free: 452 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4301, allocations: 189.1 kB / 0.5283 GB, free: 260 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.4302, allocations: 0 / 0.5283 GB, free: 260 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.2718/0.702, allocations: 338.8 kB / 0.5286 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.7025, allocations: 99.44 kB / 0.5287 GB, free: 85.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.7027, allocations: 196.7 kB / 0.5289 GB, free: 85.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.703, allocations: 141.1 kB / 0.529 GB, free: 85.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.703, allocations: 1.094 kB / 0.529 GB, free: 85.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001008/0.7041, allocations: 472 kB / 0.5295 GB, free: 85.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.7041, allocations: 9.469 kB / 0.5295 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7041, allocations: 5.25 kB / 0.5295 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.7045, allocations: 115.5 kB / 0.5296 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.7049, allocations: 101.4 kB / 0.5297 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.708, allocations: 4.476 MB / 0.5341 GB, free: 81.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.7083, allocations: 19.72 kB / 0.5341 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.7083, allocations: 18.48 kB / 0.5341 GB, free: 81.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.7084, allocations: 119.8 kB / 0.5342 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.7085, allocations: 40.48 kB / 0.5343 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.7086, allocations: 36.16 kB / 0.5343 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.7086, allocations: 7.062 kB / 0.5343 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.7086, allocations: 4.516 kB / 0.5343 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7087, allocations: 2.719 kB / 0.5343 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.7104, allocations: 1.192 MB / 0.5355 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7105, allocations: 2.203 kB / 0.5355 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.7109, allocations: 103.5 kB / 0.5356 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.7112, allocations: 91.52 kB / 0.5357 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.7112, allocations: 4.062 kB / 0.5357 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.7136, allocations: 3.932 MB / 0.5395 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7136, allocations: 2.219 kB / 0.5395 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7147, allocations: 0.8966 MB / 0.5404 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.7148, allocations: 106.7 kB / 0.5405 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.7148, allocations: 3.766 kB / 0.5405 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.7151, allocations: 10.73 kB / 0.5405 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.7152, allocations: 42.58 kB / 0.5405 GB, free: 76.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.7152, allocations: 16.52 kB / 0.5406 GB, free: 76.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.7153, allocations: 139.9 kB / 0.5407 GB, free: 76.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7154, allocations: 0 / 0.5407 GB, free: 76.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007668/0.7161, allocations: 97.41 kB / 0.5408 GB, free: 76.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.7163, allocations: 105.6 kB / 0.5409 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.7173, allocations: 0.6709 MB / 0.5415 GB, free: 75.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7173, allocations: 0 / 0.5415 GB, free: 75.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.7179, allocations: 0.5277 MB / 0.542 GB, free: 75.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.7184, allocations: 39.72 kB / 0.5421 GB, free: 75.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.72, allocations: 0.8732 MB / 0.5429 GB, free: 74.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.7205, allocations: 0.8307 MB / 0.5438 GB, free: 74.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.7207, allocations: 36.75 kB / 0.5438 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.7208, allocations: 31.28 kB / 0.5438 GB, free: 74.12 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7208, allocations: 0 / 0.5438 GB, free: 74.12 MB / 378.7 MB Notification: Performance of Templates: time 0.007868/0.7287, allocations: 3.673 MB / 0.5474 GB, free: 73.87 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)