Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009427/0.0009428, allocations: 177.8 kB / 7.653 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.641/1.641, allocations: 194.3 MB / 202.4 MB, free: 13.03 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.001694/0.001694, allocations: 108.7 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2/0.2, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.028e-05, allocations: 4 kB / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4035, allocations: 81.13 MB / 0.5169 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4037, allocations: 71.95 kB / 0.517 GB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4196, allocations: 5.729 MB / 0.5226 GB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4197, allocations: 0 / 0.5226 GB, free: 6.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.4197, allocations: 4 kB / 0.5226 GB, free: 6.621 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009581/0.4207, allocations: 0.5571 MB / 0.5231 GB, free: 6.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4207, allocations: 8.031 kB / 0.5231 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.4209, allocations: 47.44 kB / 0.5232 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4212, allocations: 247.3 kB / 0.5234 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4213, allocations: 12 kB / 0.5234 GB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.4213, allocations: 31.89 kB / 0.5235 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000354/0.4217, allocations: 165.5 kB / 0.5236 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.4222, allocations: 321.8 kB / 0.5239 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.4222, allocations: 7.938 kB / 0.5239 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.4222, allocations: 0 / 0.5239 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.4223, allocations: 16 kB / 0.5239 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.4244, allocations: 1.649 MB / 0.5256 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.4248, allocations: 226.7 kB / 0.5258 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4249, allocations: 94.06 kB / 0.5259 GB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.425, allocations: 4 kB / 0.5259 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.425, allocations: 42.5 kB / 0.5259 GB, free: 2.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.265e-06/0.425, allocations: 0 / 0.5259 GB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004618/0.4255, allocations: 165.2 kB / 0.5261 GB, free: 2.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4256, allocations: 217.5 kB / 0.5263 GB, free: 2.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.4258, allocations: 210.3 kB / 0.5265 GB, free: 2.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4259, allocations: 25.7 kB / 0.5265 GB, free: 2.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.426, allocations: 243.4 kB / 0.5267 GB, free: 1.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4261, allocations: 118.4 kB / 0.5268 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.4262, allocations: 96 / 0.5268 GB, free: 1.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4263, allocations: 338.8 kB / 0.5272 GB, free: 1.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4265, allocations: 73.56 kB / 0.5272 GB, free: 1.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.4269, allocations: 404.5 kB / 0.5276 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.4271, allocations: 139.8 kB / 0.5278 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4271, allocations: 4 kB / 0.5278 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007707/0.4279, allocations: 437.3 kB / 0.5282 GB, free: 328 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4279, allocations: 8 kB / 0.5282 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.428, allocations: 12 kB / 0.5282 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/0.428, allocations: 16 kB / 0.5282 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.4285, allocations: 156.4 kB / 0.5284 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.4286, allocations: 23.94 kB / 0.5284 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.429, allocations: 55.42 kB / 0.5284 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.429, allocations: 28 kB / 0.5285 GB, free: 28 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2723/0.7014, allocations: 127 kB / 0.5286 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.7016, allocations: 32.11 kB / 0.5286 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.7017, allocations: 29.94 kB / 0.5286 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.7017, allocations: 4.641 kB / 0.5286 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7017, allocations: 5.031 kB / 0.5287 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.7017, allocations: 6.859 kB / 0.5287 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.7031, allocations: 0.5799 MB / 0.5292 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7032, allocations: 7.562 kB / 0.5292 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.7037, allocations: 89.48 kB / 0.5293 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.7037, allocations: 2.906 kB / 0.5293 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.7037, allocations: 9.562 kB / 0.5293 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.7037, allocations: 4.891 kB / 0.5293 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.7037, allocations: 7.859 kB / 0.5293 GB, free: 84.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.7043, allocations: 0.8757 MB / 0.5302 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.7044, allocations: 103.2 kB / 0.5303 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.7044, allocations: 6.219 kB / 0.5303 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.7047, allocations: 8.031 kB / 0.5303 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.7048, allocations: 26.17 kB / 0.5303 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.7049, allocations: 11.05 kB / 0.5303 GB, free: 83.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.705, allocations: 157.9 kB / 0.5305 GB, free: 83.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.705, allocations: 1.125 kB / 0.5305 GB, free: 83.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007753/0.7058, allocations: 94.53 kB / 0.5306 GB, free: 83.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.7059, allocations: 106.4 kB / 0.5307 GB, free: 83.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.7064, allocations: 234.5 kB / 0.5309 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7064, allocations: 2.406 kB / 0.5309 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.7065, allocations: 71.81 kB / 0.531 GB, free: 83.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.7072, allocations: 52.58 kB / 0.531 GB, free: 83.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.7093, allocations: 1.509 MB / 0.5325 GB, free: 82.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.7096, allocations: 0.8027 MB / 0.5333 GB, free: 81.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.7098, allocations: 44.92 kB / 0.5333 GB, free: 81.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.7099, allocations: 27.05 kB / 0.5334 GB, free: 81.68 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7099, allocations: 0 / 0.5334 GB, free: 81.68 MB / 378.7 MB Notification: Performance of Templates: time 0.006364/0.7162, allocations: 2.501 MB / 0.5358 GB, free: 81.49 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)