Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001535, allocations: 98.19 kB / 15.36 MB, free: 0.7305 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.001705/0.001705, allocations: 171.7 kB / 16.26 MB, free: 6.656 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.838/1.838, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3963/0.3963, allocations: 40 MB / 310.7 MB, free: 9.93 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.0005507/0.0005506, allocations: 20 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1577, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3927/0.5505, allocations: 66.78 MB / 0.4924 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0465/0.597, allocations: 14.19 MB / 0.5062 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02478/0.6218, allocations: 303.8 kB / 0.5065 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.6259, allocations: 0.5876 MB / 0.5071 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.6388, allocations: 2.491 MB / 0.5095 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00483/0.6437, allocations: 1.269 MB / 0.5108 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02325/0.6669, allocations: 10.92 MB / 0.5214 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02274/0.6897, allocations: 9.557 MB / 0.5308 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.6968, allocations: 2 MB / 0.5327 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007655/0.7045, allocations: 3.395 MB / 0.536 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.7067, allocations: 240 kB / 0.5363 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005731/0.7124, allocations: 1.467 MB / 0.5377 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006385/0.7188, allocations: 2.902 MB / 0.5405 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008426/0.7273, allocations: 3.181 MB / 0.5436 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.7464, allocations: 11.17 MB / 0.5545 GB, free: 15.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.7464, allocations: 0 / 0.5545 GB, free: 15.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.7464, allocations: 0 / 0.5545 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007758/0.7472, allocations: 0 / 0.5545 GB, free: 15.63 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02198/0.7692, allocations: 6.53 MB / 0.5609 GB, free: 9.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.7693, allocations: 12.03 kB / 0.5609 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.7863, allocations: 3.116 MB / 0.564 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.8015, allocations: 5.17 MB / 0.569 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006187/0.8022, allocations: 382.3 kB / 0.5694 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/0.8054, allocations: 0.5113 MB / 0.5699 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/0.85, allocations: 15.56 MB / 0.5851 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005094/0.8505, allocations: 67.36 kB / 0.5851 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002635/0.8532, allocations: 239.8 kB / 0.5854 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004763/0.858, allocations: 2.54 MB / 0.5879 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/0.8916, allocations: 13.14 MB / 0.6007 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4143/1.306, allocations: 57.58 MB / 0.6569 GB, free: 105.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/1.323, allocations: 6.424 MB / 0.6632 GB, free: 105.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004602/1.328, allocations: 3.445 MB / 0.6666 GB, free: 104.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.021/1.349, allocations: 11.57 MB / 0.6779 GB, free: 98.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.408e-05/1.349, allocations: 61.72 kB / 0.6779 GB, free: 98.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 7.504e-06/1.349, allocations: 0 / 0.6779 GB, free: 98.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.152/1.501, allocations: 39.64 MB / 0.7166 GB, free: 85.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/1.501, allocations: 239.9 kB / 0.7169 GB, free: 84.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.513, allocations: 5.743 MB / 0.7225 GB, free: 79.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.514, allocations: 77.7 kB / 0.7225 GB, free: 78.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003456/1.517, allocations: 4.357 MB / 0.7268 GB, free: 74.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.519, allocations: 1.256 MB / 0.728 GB, free: 73.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.52, allocations: 0.7522 MB / 0.7288 GB, free: 72.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/1.52, allocations: 301.1 kB / 0.729 GB, free: 72.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.526, allocations: 4.093 MB / 0.733 GB, free: 68.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007344/1.533, allocations: 8.667 MB / 0.7415 GB, free: 57.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/1.55, allocations: 13.56 MB / 0.7547 GB, free: 41.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/1.55, allocations: 44 kB / 0.7548 GB, free: 41.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03432/1.584, allocations: 16.39 MB / 0.7708 GB, free: 25.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/1.584, allocations: 72 kB / 0.7709 GB, free: 25.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.584, allocations: 160 kB / 0.771 GB, free: 24.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.597, allocations: 4.291 MB / 0.7752 GB, free: 20.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006215/1.603, allocations: 1.9 MB / 0.7771 GB, free: 18.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02911/1.633, allocations: 20.18 MB / 0.7968 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/1.644, allocations: 0.511 MB / 0.7973 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/1.646, allocations: 482.5 kB / 0.7977 GB, free: 13.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01015/1.656, allocations: 3.126 MB / 0.8008 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002982/1.659, allocations: 0.5206 MB / 0.8013 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0272/1.686, allocations: 10.11 MB / 0.8112 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/1.687, allocations: 32.55 kB / 0.8112 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-05/1.687, allocations: 16 kB / 0.8112 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-05/1.687, allocations: 15.94 kB / 0.8112 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.347/2.034, allocations: 20.16 MB / 0.8309 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/2.034, allocations: 9.656 kB / 0.8309 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/2.036, allocations: 0.4953 MB / 0.8314 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/2.049, allocations: 3.838 MB / 0.8352 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008751/2.05, allocations: 62.75 kB / 0.8352 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02832/2.078, allocations: 17.81 MB / 0.8526 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/2.078, allocations: 14.25 kB / 0.8526 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0357/2.114, allocations: 14.91 MB / 0.8672 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004667/2.119, allocations: 1.18 MB / 0.8683 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002393/2.121, allocations: 62.55 kB / 0.8684 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004514/2.126, allocations: 237.2 kB / 0.8686 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/2.127, allocations: 228.6 kB / 0.8688 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005369/2.128, allocations: 96.52 kB / 0.8689 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.009096/2.137, allocations: 3.636 MB / 0.8725 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.71e-07/2.137, allocations: 1.5 kB / 0.8725 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0112/2.148, allocations: 1.783 MB / 0.8742 GB, free: 139.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/2.149, allocations: 259.1 kB / 0.8745 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01795/2.167, allocations: 9.799 MB / 0.884 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/2.167, allocations: 6.875 kB / 0.884 GB, free: 136 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007275/2.175, allocations: 3.789 MB / 0.8877 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01422/2.189, allocations: 0.6842 MB / 0.8884 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/2.224, allocations: 19.28 MB / 0.9072 GB, free: 120.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008408/2.232, allocations: 4.846 MB / 0.912 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007725/2.24, allocations: 2.579 MB / 0.9145 GB, free: 114.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/2.242, allocations: 343.4 kB / 0.9148 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/2.242, allocations: 0 / 0.9148 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1187/2.361, allocations: 74.47 MB / 0.9875 GB, free: 39.84 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) Environment - environmentSimulation: