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.00176/0.00176, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.002164/0.002164, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.511/1.511, allocations: 222.9 MB / 242.5 MB, free: 15.35 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.2516/0.2516, allocations: 44.17 MB / 336.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.88 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3226/0.4616, allocations: 48.18 MB / 0.5052 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02569/0.4873, allocations: 10.73 MB / 0.5157 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01307/0.5004, allocations: 211.7 kB / 0.5159 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007872/0.5083, allocations: 3.976 MB / 0.5198 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.5155, allocations: 2.073 MB / 0.5218 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.519, allocations: 1.08 MB / 0.5229 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.5309, allocations: 8.259 MB / 0.5309 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00681/0.5377, allocations: 5.085 MB / 0.5359 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005802/0.5436, allocations: 1.925 MB / 0.5378 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006369/0.55, allocations: 3.119 MB / 0.5408 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00164/0.5517, allocations: 346.6 kB / 0.5412 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.5561, allocations: 1.593 MB / 0.5427 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.5601, allocations: 2.53 MB / 0.5452 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005871/0.566, allocations: 2.872 MB / 0.548 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.5769, allocations: 7.902 MB / 0.5557 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.577, allocations: 0 / 0.5557 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.577, allocations: 0 / 0.5557 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003533/0.5773, allocations: 0 / 0.5557 GB, free: 0.6055 MB / 398.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.01733/0.5947, allocations: 6.531 MB / 0.5621 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5947, allocations: 8.031 kB / 0.5621 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.611, allocations: 2.714 MB / 0.5647 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008742/0.6198, allocations: 3.62 MB / 0.5683 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.6202, allocations: 354.3 kB / 0.5686 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.6221, allocations: 436.2 kB / 0.569 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.651, allocations: 13.84 MB / 0.5826 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.6513, allocations: 63.45 kB / 0.5826 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.6523, allocations: 199.9 kB / 0.5828 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003821/0.6562, allocations: 2.405 MB / 0.5852 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.6821, allocations: 11.75 MB / 0.5966 GB, free: 6.109 MB / 446.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.07474/0.7569, allocations: 51.78 MB / 0.6472 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.7703, allocations: 4.734 MB / 0.6518 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005369/0.7757, allocations: 2.948 MB / 0.6547 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0217/0.7974, allocations: 12.86 MB / 0.6673 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.7975, allocations: 51.88 kB / 0.6673 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 6.372e-06/0.7976, allocations: 0 / 0.6673 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1611/0.9587, allocations: 43.4 MB / 0.7097 GB, free: 320 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.9589, allocations: 235.6 kB / 0.7099 GB, free: 36 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2203/1.179, allocations: 4.772 MB / 0.7146 GB, free: 204.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005708/1.18, allocations: 66.08 kB / 0.7146 GB, free: 204.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.182, allocations: 3.839 MB / 0.7184 GB, free: 202.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.183, allocations: 0.9318 MB / 0.7193 GB, free: 201.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/1.186, allocations: 1.509 MB / 0.7208 GB, free: 200.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/1.186, allocations: 304.9 kB / 0.7211 GB, free: 200.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/1.191, allocations: 3.447 MB / 0.7244 GB, free: 199.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/1.199, allocations: 7.71 MB / 0.732 GB, free: 192.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.21, allocations: 11.87 MB / 0.7435 GB, free: 183.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/1.211, allocations: 50.62 kB / 0.7436 GB, free: 183.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02624/1.237, allocations: 14.47 MB / 0.7577 GB, free: 176.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.237, allocations: 72.03 kB / 0.7578 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.237, allocations: 151.9 kB / 0.7579 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.248, allocations: 4.021 MB / 0.7619 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/1.253, allocations: 1.63 MB / 0.7635 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.275, allocations: 18.69 MB / 0.7817 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006745/1.281, allocations: 455.3 kB / 0.7822 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.283, allocations: 432 kB / 0.7826 GB, free: 151.5 MB / 0.545 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.004006/1.287, allocations: 2.657 MB / 0.7852 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009071/1.288, allocations: 426.5 kB / 0.7856 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.303, allocations: 8.645 MB / 0.794 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-05/1.303, allocations: 28 kB / 0.794 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.303, allocations: 19.94 kB / 0.7941 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/1.304, allocations: 11.95 kB / 0.7941 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/1.334, allocations: 17.89 MB / 0.8115 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/1.334, allocations: 0 / 0.8115 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.336, allocations: 408.2 kB / 0.8119 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/1.347, allocations: 4.073 MB / 0.8159 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.347, allocations: 36 kB / 0.8159 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.367, allocations: 17.12 MB / 0.8327 GB, free: 100 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.367, allocations: 4 kB / 0.8327 GB, free: 100 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/1.389, allocations: 13.22 MB / 0.8456 GB, free: 86.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.39, allocations: 467.4 kB / 0.846 GB, free: 86.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.391, allocations: 43.61 kB / 0.846 GB, free: 86.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.393, allocations: 219.7 kB / 0.8463 GB, free: 86.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006849/1.394, allocations: 154.2 kB / 0.8464 GB, free: 85.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.394, allocations: 63.94 kB / 0.8465 GB, free: 85.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004065/1.398, allocations: 2.985 MB / 0.8494 GB, free: 82.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.5e-07/1.398, allocations: 0 / 0.8494 GB, free: 82.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006769/1.405, allocations: 1.488 MB / 0.8508 GB, free: 81.35 MB / 0.545 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.0007181/1.406, allocations: 228.2 kB / 0.8511 GB, free: 81.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.417, allocations: 8.261 MB / 0.8591 GB, free: 72.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.417, allocations: 4 kB / 0.8591 GB, free: 72.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/1.421, allocations: 3.111 MB / 0.8622 GB, free: 69.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.424, allocations: 0.5017 MB / 0.8627 GB, free: 69.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.444, allocations: 16.17 MB / 0.8784 GB, free: 53.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/1.448, allocations: 4.084 MB / 0.8824 GB, free: 48.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.449, allocations: 335.4 kB / 0.8827 GB, free: 48.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.449, allocations: 3.938 kB / 0.8828 GB, free: 48.62 MB / 0.545 GB Notification: Performance of Templates: time 0.3449/1.794, allocations: 101.1 MB / 0.9815 GB, free: 140.3 MB / 0.545 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)