Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 105.6 kB / 18.45 MB, free: 4.602 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.001263/0.001264, allocations: 186.2 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01415/0.3306, allocations: 13.27 MB / 0.5325 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3417, allocations: 4.835 MB / 0.5373 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.3446, allocations: 85.22 kB / 0.5373 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00836/0.353, allocations: 3.979 MB / 0.5412 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006406/0.3595, allocations: 2.203 MB / 0.5434 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.3625, allocations: 1.187 MB / 0.5445 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008745/0.3712, allocations: 5.733 MB / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006457/0.3777, allocations: 5.184 MB / 0.5552 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.382, allocations: 2.173 MB / 0.5573 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.3867, allocations: 2.972 MB / 0.5602 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.3885, allocations: 0.5039 MB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.3925, allocations: 1.658 MB / 0.5623 GB, free: 136 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003431/0.396, allocations: 2.681 MB / 0.5649 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004728/0.4007, allocations: 3.018 MB / 0.5679 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.4124, allocations: 9.952 MB / 0.5776 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4124, allocations: 0 / 0.5776 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4124, allocations: 0 / 0.5776 GB, free: 436 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.4127, allocations: 0 / 0.5776 GB, free: 436 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01422/0.4269, allocations: 6.519 MB / 0.584 GB, free: 9.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.427, allocations: 12.02 kB / 0.584 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.4439, allocations: 2.712 MB / 0.5866 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007529/0.4515, allocations: 3.7 MB / 0.5902 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.4519, allocations: 354.2 kB / 0.5906 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.4532, allocations: 431.7 kB / 0.591 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.4793, allocations: 13.84 MB / 0.6045 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/0.4796, allocations: 55.53 kB / 0.6046 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00174/0.4814, allocations: 195.8 kB / 0.6048 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.4851, allocations: 2.41 MB / 0.6071 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.5086, allocations: 11.76 MB / 0.6186 GB, free: 5.426 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07001/0.5786, allocations: 51.54 MB / 0.6689 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5917, allocations: 4.734 MB / 0.6735 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004437/0.5961, allocations: 2.956 MB / 0.6764 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02074/0.6169, allocations: 12.86 MB / 0.689 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.617, allocations: 55.86 kB / 0.689 GB, free: 11.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 4.969e-06/0.617, allocations: 4 kB / 0.689 GB, free: 11.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.4179/1.035, allocations: 43.4 MB / 0.7314 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/1.035, allocations: 233 kB / 0.7316 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/1.042, allocations: 4.77 MB / 0.7363 GB, free: 162 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006233/1.042, allocations: 65.58 kB / 0.7364 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.044, allocations: 3.846 MB / 0.7401 GB, free: 159 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009091/1.045, allocations: 0.9362 MB / 0.741 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/1.047, allocations: 1.51 MB / 0.7425 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/1.047, allocations: 305.1 kB / 0.7428 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.051, allocations: 3.443 MB / 0.7462 GB, free: 156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/1.056, allocations: 7.707 MB / 0.7537 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.066, allocations: 11.86 MB / 0.7653 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.066, allocations: 48 kB / 0.7653 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02475/1.091, allocations: 14.48 MB / 0.7795 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.091, allocations: 75.98 kB / 0.7795 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/1.092, allocations: 148 kB / 0.7797 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/1.103, allocations: 4.017 MB / 0.7836 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004846/1.107, allocations: 1.634 MB / 0.7852 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/1.13, allocations: 19.84 MB / 0.8046 GB, free: 96.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/1.137, allocations: 466.5 kB / 0.805 GB, free: 95.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.138, allocations: 435.9 kB / 0.8054 GB, free: 95.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (884): * Single equations (assignments): 880 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004931/1.143, allocations: 2.653 MB / 0.808 GB, free: 92.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.144, allocations: 426.5 kB / 0.8084 GB, free: 92.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.161, allocations: 8.634 MB / 0.8169 GB, free: 83.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/1.161, allocations: 28.88 kB / 0.8169 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/1.161, allocations: 12 kB / 0.8169 GB, free: 83.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-05/1.162, allocations: 19.89 kB / 0.8169 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03299/1.195, allocations: 17.85 MB / 0.8343 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/1.195, allocations: 4 kB / 0.8343 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/1.197, allocations: 403.4 kB / 0.8347 GB, free: 65.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/1.208, allocations: 4.069 MB / 0.8387 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005895/1.209, allocations: 36 kB / 0.8387 GB, free: 61.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/1.23, allocations: 18.21 MB / 0.8565 GB, free: 42.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.23, allocations: 0 / 0.8565 GB, free: 42.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.252, allocations: 13.23 MB / 0.8694 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.253, allocations: 475.4 kB / 0.8699 GB, free: 28.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/1.255, allocations: 40 kB / 0.8699 GB, free: 28.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.258, allocations: 211.7 kB / 0.8701 GB, free: 28.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000806/1.258, allocations: 154.2 kB / 0.8703 GB, free: 28.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/1.259, allocations: 56 kB / 0.8703 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004754/1.263, allocations: 2.985 MB / 0.8733 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.264, allocations: 0 / 0.8733 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00669/1.27, allocations: 1.496 MB / 0.8747 GB, free: 24.01 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008097/1.271, allocations: 222.5 kB / 0.8749 GB, free: 23.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009976/1.281, allocations: 8.281 MB / 0.883 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.281, allocations: 384 / 0.883 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.285, allocations: 3.116 MB / 0.8861 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.288, allocations: 0.5247 MB / 0.8866 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.307, allocations: 13.42 MB / 0.8997 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/1.311, allocations: 4.091 MB / 0.9037 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.312, allocations: 331.4 kB / 0.904 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/1.312, allocations: 8 kB / 0.904 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.3683/1.681, allocations: 101.9 MB / 1.003 GB, free: 156.7 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)