Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006502/0.006502, allocations: 102 kB / 15.73 MB, free: 6.051 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.00129/0.00129, allocations: 195 kB / 16.68 MB, free: 5.969 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.567/1.567, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3631/0.3631, allocations: 39.95 MB / 309.8 MB, free: 9.629 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.001501/0.001502, allocations: 71.89 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3352, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01673/0.352, allocations: 18.62 MB / 0.4993 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.3673, allocations: 5.347 MB / 0.5045 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006397/0.3738, allocations: 111.7 kB / 0.5046 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007375/0.3812, allocations: 3.066 MB / 0.5076 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.3908, allocations: 2.627 MB / 0.5102 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.3942, allocations: 1.027 MB / 0.5112 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.4065, allocations: 7.407 MB / 0.5184 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006552/0.4131, allocations: 4.248 MB / 0.5226 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005095/0.4182, allocations: 2.305 MB / 0.5248 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005894/0.4241, allocations: 3.291 MB / 0.528 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.426, allocations: 456 kB / 0.5285 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.4306, allocations: 1.299 MB / 0.5297 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005334/0.436, allocations: 2.895 MB / 0.5326 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006614/0.4426, allocations: 3.254 MB / 0.5357 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.4592, allocations: 10.15 MB / 0.5457 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4592, allocations: 0 / 0.5457 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4592, allocations: 3.938 kB / 0.5457 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000491/0.4597, allocations: 0 / 0.5457 GB, free: 14.03 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02464/0.4844, allocations: 7.314 MB / 0.5528 GB, free: 6.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.4845, allocations: 15.83 kB / 0.5528 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.5015, allocations: 3.833 MB / 0.5566 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.5133, allocations: 4.331 MB / 0.5608 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.5137, allocations: 324.5 kB / 0.5611 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.5161, allocations: 443.7 kB / 0.5615 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03572/0.5519, allocations: 15.8 MB / 0.5769 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/0.5522, allocations: 63.48 kB / 0.577 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008596/0.553, allocations: 195.8 kB / 0.5772 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00709/0.5601, allocations: 3.478 MB / 0.5806 GB, free: 9.363 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03806/0.5982, allocations: 14.92 MB / 0.5952 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.438/1.036, allocations: 55.78 MB / 0.6496 GB, free: 93.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/1.055, allocations: 8.212 MB / 0.6577 GB, free: 91.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006159/1.061, allocations: 4.837 MB / 0.6624 GB, free: 89.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/1.063, allocations: 2.204 MB / 0.6645 GB, free: 87.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.063, allocations: 71.17 kB / 0.6646 GB, free: 87.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 8.586e-06/1.063, allocations: 0 / 0.6646 GB, free: 87.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.109/1.172, allocations: 40.26 MB / 0.7039 GB, free: 68.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/1.172, allocations: 116.7 kB / 0.704 GB, free: 67.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00642/1.179, allocations: 4.367 MB / 0.7083 GB, free: 63.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/1.18, allocations: 89.67 kB / 0.7084 GB, free: 63.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.182, allocations: 3.872 MB / 0.7122 GB, free: 59.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002268/1.184, allocations: 1.493 MB / 0.7136 GB, free: 58.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004786/1.189, allocations: 1.579 MB / 0.7152 GB, free: 56.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/1.189, allocations: 305.1 kB / 0.7154 GB, free: 56.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/1.195, allocations: 4.087 MB / 0.7194 GB, free: 52.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007319/1.202, allocations: 7.911 MB / 0.7272 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.216, allocations: 12.96 MB / 0.7398 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/1.216, allocations: 36 kB / 0.7399 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02877/1.245, allocations: 14.8 MB / 0.7543 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/1.245, allocations: 60 kB / 0.7544 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/1.245, allocations: 132.8 kB / 0.7545 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008705/1.254, allocations: 2.932 MB / 0.7574 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007692/1.262, allocations: 1.825 MB / 0.7591 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/1.284, allocations: 15.96 MB / 0.7747 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007505/1.292, allocations: 0.4996 MB / 0.7752 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/1.294, allocations: 431.9 kB / 0.7756 GB, free: 6.695 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009023/1.303, allocations: 2.92 MB / 0.7785 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.305, allocations: 462 kB / 0.7789 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02509/1.33, allocations: 10.94 MB / 0.7896 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/1.331, allocations: 60 kB / 0.7897 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/1.331, allocations: 8 kB / 0.7897 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-05/1.331, allocations: 19.92 kB / 0.7897 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05345/1.384, allocations: 21.68 MB / 0.8109 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-05/1.384, allocations: 12 kB / 0.8109 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004072/1.388, allocations: 0.6786 MB / 0.8115 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008851/1.397, allocations: 2.736 MB / 0.8142 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/1.399, allocations: 80 kB / 0.8143 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/1.42, allocations: 14.54 MB / 0.8285 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/1.42, allocations: 15.94 kB / 0.8285 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03183/1.452, allocations: 15.58 MB / 0.8437 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006095/1.459, allocations: 1.175 MB / 0.8449 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/1.461, allocations: 83.88 kB / 0.8449 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005674/1.467, allocations: 307.5 kB / 0.8452 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/1.469, allocations: 273.9 kB / 0.8455 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001076/1.47, allocations: 111.4 kB / 0.8456 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007984/1.478, allocations: 2.741 MB / 0.8483 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.42e-07/1.478, allocations: 0 / 0.8483 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01184/1.49, allocations: 1.698 MB / 0.8499 GB, free: 9.766 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/1.492, allocations: 236.9 kB / 0.8502 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3951/1.887, allocations: 10.11 MB / 0.86 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/1.887, allocations: 1.938 kB / 0.86 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/1.899, allocations: 4.376 MB / 0.8643 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006819/1.906, allocations: 0.7162 MB / 0.865 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/1.946, allocations: 15.87 MB / 0.8805 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008221/1.954, allocations: 4.622 MB / 0.885 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007509/1.961, allocations: 2.736 MB / 0.8877 GB, free: 196 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.963, allocations: 349.7 kB / 0.888 GB, free: 196 MB / 0.5919 GB Notification: Performance of SimCode: time 2.856e-06/1.963, allocations: 0 / 0.888 GB, free: 196 MB / 0.5919 GB Notification: Performance of Templates: time 0.1369/2.1, allocations: 69.63 MB / 0.956 GB, free: 140.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)