Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007497/0.0007527, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.000762/0.0007621, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3065/0.3065, allocations: 38.03 MB / 308.4 MB, free: 10.51 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.1. 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.0005263/0.0005263, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1182, allocations: 57.53 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2496/0.3678, allocations: 31.42 MB / 465.4 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.3838, allocations: 7.429 MB / 472.8 MB, free: 31.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007481/0.3914, allocations: 154.2 kB / 473 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004054/0.3955, allocations: 1.573 MB / 474.5 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01292/0.4084, allocations: 4.852 MB / 479.4 MB, free: 30.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.4111, allocations: 0.5012 MB / 479.9 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004315/0.4154, allocations: 3.798 MB / 483.7 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003426/0.4189, allocations: 2.95 MB / 486.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.4205, allocations: 1.048 MB / 487.7 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.4223, allocations: 1.603 MB / 489.3 MB, free: 27.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.4227, allocations: 112.6 kB / 489.4 MB, free: 27.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.4242, allocations: 0.801 MB / 490.2 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.4254, allocations: 1.396 MB / 491.6 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.426, allocations: 0.7057 MB / 492.3 MB, free: 26.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005445/0.4314, allocations: 4.425 MB / 496.7 MB, free: 26.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4315, allocations: 0 / 496.7 MB, free: 26.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4315, allocations: 0 / 496.7 MB, free: 26.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.4317, allocations: 1.125 kB / 496.7 MB, free: 26.04 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008026/0.4397, allocations: 3.353 MB / 0.4884 GB, free: 24.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4398, allocations: 9.406 kB / 0.4884 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007446/0.4473, allocations: 1.827 MB / 0.4902 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/0.453, allocations: 1.93 MB / 0.492 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.4533, allocations: 189.4 kB / 0.4922 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008698/0.4542, allocations: 255.7 kB / 0.4925 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.4681, allocations: 8.434 MB / 0.5007 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-05/0.4683, allocations: 40.78 kB / 0.5007 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.4686, allocations: 126.9 kB / 0.5009 GB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.4712, allocations: 1.696 MB / 0.5025 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.4834, allocations: 7.071 MB / 0.5094 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.5259, allocations: 34.14 MB / 0.5428 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.5333, allocations: 3.267 MB / 0.546 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.5355, allocations: 1.459 MB / 0.5474 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007508/0.543, allocations: 4.372 MB / 0.5516 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5431, allocations: 47.12 kB / 0.5517 GB, free: 1.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.908e-06/0.5431, allocations: 0 / 0.5517 GB, free: 1.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02956/0.5726, allocations: 11.5 MB / 0.5629 GB, free: 6.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5728, allocations: 178.8 kB / 0.5631 GB, free: 5.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007101/0.5799, allocations: 3.714 MB / 0.5667 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.5802, allocations: 41.7 kB / 0.5668 GB, free: 2.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.5824, allocations: 2.752 MB / 0.5694 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/0.5832, allocations: 0.521 MB / 0.57 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.5837, allocations: 104 kB / 0.5701 GB, free: 14.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000437/0.5841, allocations: 0.5292 MB / 0.5706 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/0.5873, allocations: 1.685 MB / 0.5722 GB, free: 12.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005746/0.5931, allocations: 5.108 MB / 0.5772 GB, free: 5.676 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.5976, allocations: 2.875 MB / 0.58 GB, free: 2.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.5978, allocations: 36 kB / 0.58 GB, free: 2.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0121/0.6099, allocations: 6.679 MB / 0.5866 GB, free: 12.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.61, allocations: 60 kB / 0.5866 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/0.6102, allocations: 122.4 kB / 0.5867 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.6109, allocations: 344.6 kB / 0.5871 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.6145, allocations: 1.248 MB / 0.5883 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.6169, allocations: 2.282 MB / 0.5905 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/0.6207, allocations: 299.7 kB / 0.5908 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005874/0.6213, allocations: 332 kB / 0.5911 GB, free: 7.273 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003921/0.6252, allocations: 1.792 MB / 0.5929 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/0.626, allocations: 308 kB / 0.5932 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/0.631, allocations: 2.363 MB / 0.5955 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.631, allocations: 19.95 kB / 0.5955 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.6311, allocations: 4 kB / 0.5955 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.6311, allocations: 7.969 kB / 0.5955 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6434, allocations: 5.923 MB / 0.6013 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.6434, allocations: 4 kB / 0.6013 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.6442, allocations: 171.7 kB / 0.6015 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.6461, allocations: 0.7147 MB / 0.6022 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6462, allocations: 20 kB / 0.6022 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/0.6519, allocations: 4.463 MB / 0.6065 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6519, allocations: 0 / 0.6065 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.6585, allocations: 4.313 MB / 0.6107 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.6599, allocations: 0.5359 MB / 0.6113 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/0.6607, allocations: 24.06 kB / 0.6113 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.6621, allocations: 67.91 kB / 0.6114 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6623, allocations: 72.5 kB / 0.6114 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/0.6624, allocations: 32 kB / 0.6115 GB, free: 2.148 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004926/0.6674, allocations: 2.315 MB / 0.6137 GB, free: 15.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6674, allocations: 4 kB / 0.6137 GB, free: 15.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005639/0.673, allocations: 0.8203 MB / 0.6145 GB, free: 15.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004323/0.6735, allocations: 151 kB / 0.6147 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006847/0.6803, allocations: 4.002 MB / 0.6186 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6804, allocations: 4.562 kB / 0.6186 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.682, allocations: 1.109 MB / 0.6197 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.6853, allocations: 379.2 kB / 0.62 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.7018, allocations: 8.652 MB / 0.6285 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2242/0.926, allocations: 2.789 MB / 0.6312 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00393/0.93, allocations: 1.659 MB / 0.6328 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.9306, allocations: 208.9 kB / 0.633 GB, free: 124.1 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.9307, allocations: 0 / 0.633 GB, free: 124.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05631/0.987, allocations: 28.96 MB / 0.6613 GB, free: 118.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) Environment - environmentSimulation: