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.001258/0.001258, 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.001309/0.001309, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.663/1.663, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3771/0.3771, allocations: 39.93 MB / 309.4 MB, free: 9.32 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.001384/0.001384, allocations: 63.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1613, allocations: 56.89 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3815/0.5428, allocations: 68.45 MB / 0.4907 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04428/0.5872, allocations: 14.16 MB / 0.5045 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01967/0.6069, allocations: 306.8 kB / 0.5048 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.6178, allocations: 4.95 MB / 0.5096 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009987/0.6279, allocations: 2.457 MB / 0.512 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.6325, allocations: 1.306 MB / 0.5133 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.6486, allocations: 7.927 MB / 0.521 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.6614, allocations: 7.381 MB / 0.5282 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007727/0.6692, allocations: 2.854 MB / 0.531 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007999/0.6773, allocations: 4.149 MB / 0.5351 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003553/0.6809, allocations: 0.6328 MB / 0.5357 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007558/0.6885, allocations: 1.803 MB / 0.5375 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006043/0.6945, allocations: 3.39 MB / 0.5408 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008138/0.7027, allocations: 3.745 MB / 0.5444 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.7223, allocations: 11.76 MB / 0.5559 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.7223, allocations: 0 / 0.5559 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7223, allocations: 0 / 0.5559 GB, free: 11.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005529/0.7229, allocations: 0 / 0.5559 GB, free: 11.94 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.02928/0.7522, allocations: 7.925 MB / 0.5637 GB, free: 3.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.7523, allocations: 15.89 kB / 0.5637 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.7684, allocations: 3.053 MB / 0.5667 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.7834, allocations: 5.174 MB / 0.5717 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/0.7839, allocations: 386.4 kB / 0.5721 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003478/0.7874, allocations: 0.5113 MB / 0.5726 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0465/0.834, allocations: 15.51 MB / 0.5877 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004786/0.8345, allocations: 71.42 kB / 0.5878 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002982/0.8375, allocations: 235.8 kB / 0.588 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/0.8424, allocations: 2.544 MB / 0.5905 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/0.8767, allocations: 13.1 MB / 0.6033 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4579/1.335, allocations: 57.61 MB / 0.6596 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.353, allocations: 6.367 MB / 0.6658 GB, free: 105.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/1.358, allocations: 3.444 MB / 0.6691 GB, free: 103.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.376, allocations: 11.58 MB / 0.6804 GB, free: 97.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.376, allocations: 56.86 kB / 0.6805 GB, free: 97.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.841e-06/1.376, allocations: 0 / 0.6805 GB, free: 97.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1359/1.512, allocations: 39.59 MB / 0.7192 GB, free: 84.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.512, allocations: 237.5 kB / 0.7194 GB, free: 83.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009561/1.522, allocations: 5.739 MB / 0.725 GB, free: 78.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001455/1.523, allocations: 77.7 kB / 0.7251 GB, free: 78.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003188/1.526, allocations: 4.353 MB / 0.7293 GB, free: 74.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002278/1.529, allocations: 1.269 MB / 0.7306 GB, free: 73.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002983/1.532, allocations: 1.749 MB / 0.7323 GB, free: 71.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/1.532, allocations: 305.1 kB / 0.7326 GB, free: 71.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/1.537, allocations: 4.081 MB / 0.7365 GB, free: 67.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009131/1.546, allocations: 8.673 MB / 0.745 GB, free: 56.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.563, allocations: 13.55 MB / 0.7583 GB, free: 40.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/1.563, allocations: 52 kB / 0.7583 GB, free: 40.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03715/1.601, allocations: 16.38 MB / 0.7743 GB, free: 23.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/1.601, allocations: 72 kB / 0.7744 GB, free: 23.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003548/1.601, allocations: 160 kB / 0.7745 GB, free: 23.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/1.615, allocations: 4.295 MB / 0.7787 GB, free: 19.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/1.621, allocations: 1.899 MB / 0.7806 GB, free: 17.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03319/1.655, allocations: 21.56 MB / 0.8016 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/1.665, allocations: 0.5 MB / 0.8021 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002691/1.668, allocations: 491.9 kB / 0.8026 GB, free: 10.82 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.01082/1.679, allocations: 3.133 MB / 0.8056 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002726/1.681, allocations: 0.5168 MB / 0.8061 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/1.706, allocations: 10.1 MB / 0.816 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.098e-05/1.706, allocations: 41.64 kB / 0.816 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1.706, allocations: 12 kB / 0.8161 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.571e-05/1.707, allocations: 23.44 kB / 0.8161 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3114/2.018, allocations: 20.18 MB / 0.8358 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.452e-05/2.018, allocations: 9.688 kB / 0.8358 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/2.021, allocations: 0.4939 MB / 0.8363 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01216/2.033, allocations: 3.847 MB / 0.84 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008728/2.034, allocations: 68.25 kB / 0.8401 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/2.06, allocations: 19.1 MB / 0.8588 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/2.06, allocations: 11.31 kB / 0.8588 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.036/2.096, allocations: 14.9 MB / 0.8733 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004435/2.101, allocations: 1.174 MB / 0.8745 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/2.103, allocations: 66.64 kB / 0.8745 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004005/2.107, allocations: 230.7 kB / 0.8747 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009383/2.108, allocations: 235 kB / 0.875 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003145/2.108, allocations: 96.05 kB / 0.8751 GB, free: 142 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006932/2.115, allocations: 3.624 MB / 0.8786 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/2.115, allocations: 0 / 0.8786 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01007/2.125, allocations: 1.783 MB / 0.8803 GB, free: 140.6 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.001091/2.126, allocations: 262.7 kB / 0.8806 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02151/2.148, allocations: 13.29 MB / 0.8936 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/2.148, allocations: 0.6562 kB / 0.8936 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/2.153, allocations: 3.795 MB / 0.8973 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007314/2.16, allocations: 0.7283 MB / 0.898 GB, free: 133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.189, allocations: 19.2 MB / 0.9167 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006778/2.196, allocations: 4.84 MB / 0.9215 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006917/2.203, allocations: 2.579 MB / 0.924 GB, free: 108.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/2.205, allocations: 351.4 kB / 0.9243 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/2.205, allocations: 0 / 0.9243 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.123/2.328, allocations: 79.02 MB / 1.001 GB, free: 29.59 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (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)