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.001129/0.00113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 187.4 kB / 16.25 MB, free: 6.625 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.51/1.51, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3235/0.3235, allocations: 37.97 MB / 307.4 MB, free: 10.08 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.001355/0.001355, allocations: 68.53 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 56.47 MB / 431.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2443/0.3624, allocations: 34.73 MB / 465.9 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.3802, allocations: 7.813 MB / 473.8 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009027/0.3893, allocations: 147.7 kB / 473.9 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.3932, allocations: 1.852 MB / 475.7 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.3976, allocations: 1.538 MB / 477.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3989, allocations: 0.5782 MB / 477.9 MB, free: 30.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003624/0.4025, allocations: 3.38 MB / 481.2 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.4059, allocations: 2.73 MB / 484 MB, free: 27.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.4083, allocations: 1.265 MB / 485.2 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.4107, allocations: 1.873 MB / 487.1 MB, free: 26.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000799/0.4115, allocations: 263 kB / 487.4 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.4135, allocations: 1.038 MB / 488.4 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.4147, allocations: 1.599 MB / 490 MB, free: 25.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.4166, allocations: 1.85 MB / 491.9 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.4251, allocations: 5.672 MB / 497.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4251, allocations: 1.406 kB / 497.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4251, allocations: 0 / 497.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002713/0.4254, allocations: 0 / 497.5 MB, free: 22.62 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.01296/0.4384, allocations: 4.024 MB / 0.4898 GB, free: 20.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4384, allocations: 13.11 kB / 0.4898 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.4458, allocations: 1.779 MB / 0.4915 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.4511, allocations: 1.958 MB / 0.4935 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4513, allocations: 194.4 kB / 0.4936 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/0.4519, allocations: 257.3 kB / 0.4939 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.4681, allocations: 8.438 MB / 0.5021 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.4683, allocations: 36.59 kB / 0.5022 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/0.4686, allocations: 126.2 kB / 0.5023 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002753/0.4714, allocations: 1.699 MB / 0.5039 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.4839, allocations: 7.095 MB / 0.5109 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04125/0.5252, allocations: 34.16 MB / 0.5442 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/0.5325, allocations: 3.283 MB / 0.5474 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.5347, allocations: 1.464 MB / 0.5489 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008035/0.5428, allocations: 4.365 MB / 0.5531 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.314e-05/0.5429, allocations: 51.06 kB / 0.5532 GB, free: 14.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.218e-06/0.5429, allocations: 0 / 0.5532 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02834/0.5712, allocations: 11.55 MB / 0.5645 GB, free: 2.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.5714, allocations: 162.9 kB / 0.5646 GB, free: 2.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.5772, allocations: 3.733 MB / 0.5683 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.5777, allocations: 41.7 kB / 0.5683 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.58, allocations: 2.752 MB / 0.571 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/0.5807, allocations: 0.5209 MB / 0.5715 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/0.5822, allocations: 1.083 MB / 0.5726 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5824, allocations: 305.1 kB / 0.5728 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.5849, allocations: 1.701 MB / 0.5745 GB, free: 8.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.5896, allocations: 5.131 MB / 0.5795 GB, free: 1.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/0.598, allocations: 7.417 MB / 0.5868 GB, free: 8.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.807e-05/0.5981, allocations: 32 kB / 0.5868 GB, free: 8.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0125/0.6106, allocations: 6.731 MB / 0.5934 GB, free: 1.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.6108, allocations: 59.98 kB / 0.5934 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.6109, allocations: 131.9 kB / 0.5935 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.6116, allocations: 321.5 kB / 0.5939 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.6155, allocations: 1.244 MB / 0.5951 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.6184, allocations: 2.497 MB / 0.5975 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.623, allocations: 291.5 kB / 0.5978 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/0.6242, allocations: 332 kB / 0.5981 GB, free: 12.3 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004953/0.6292, allocations: 1.787 MB / 0.5998 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/0.6302, allocations: 308 kB / 0.6001 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/0.6361, allocations: 2.371 MB / 0.6025 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/0.6362, allocations: 15.98 kB / 0.6025 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.6362, allocations: 4 kB / 0.6025 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.6363, allocations: 7.984 kB / 0.6025 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.6526, allocations: 5.931 MB / 0.6083 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.6527, allocations: 4 kB / 0.6083 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.6536, allocations: 171.8 kB / 0.6084 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.6558, allocations: 0.7147 MB / 0.6091 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.656, allocations: 20 kB / 0.6092 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/0.6621, allocations: 4.812 MB / 0.6139 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.6621, allocations: 7.969 kB / 0.6139 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/0.6692, allocations: 4.325 MB / 0.6181 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.6708, allocations: 0.5248 MB / 0.6186 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.6713, allocations: 23.98 kB / 0.6186 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6725, allocations: 67.91 kB / 0.6187 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.6727, allocations: 76.5 kB / 0.6188 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6728, allocations: 32 kB / 0.6188 GB, free: 6.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004081/0.6769, allocations: 2.339 MB / 0.6211 GB, free: 4.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6769, allocations: 0 / 0.6211 GB, free: 4.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005272/0.6822, allocations: 0.8203 MB / 0.6219 GB, free: 3.664 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.6826, allocations: 151 kB / 0.622 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1856/0.8682, allocations: 4.416 MB / 0.6263 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8683, allocations: 0 / 0.6263 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.8696, allocations: 1.113 MB / 0.6274 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.872, allocations: 385.7 kB / 0.6278 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.8829, allocations: 8.965 MB / 0.6365 GB, free: 147.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/0.8852, allocations: 2.793 MB / 0.6393 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003629/0.8888, allocations: 1.66 MB / 0.6409 GB, free: 146.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/0.8895, allocations: 211.5 kB / 0.6411 GB, free: 146.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.8895, allocations: 0 / 0.6411 GB, free: 146.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06142/0.9509, allocations: 31.07 MB / 0.6714 GB, free: 137.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (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)