Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001016, allocations: 179.3 kB / 8.518 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 78.12 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1647/0.1647, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1703/0.3351, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.4253, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2538/0.6791, allocations: 109.4 MB / 0.601 GB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.6794, allocations: 76.62 kB / 0.6011 GB, free: 3.191 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.3913/1.071, allocations: 102.2 MB / 0.7009 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/1.071, allocations: 11.66 kB / 0.7009 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/1.088, allocations: 4.193 MB / 0.705 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/1.1, allocations: 5.824 MB / 0.7107 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.1, allocations: 146.4 kB / 0.7108 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008705/1.101, allocations: 278.3 kB / 0.7111 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009108/1.11, allocations: 7.668 MB / 0.7185 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.122, allocations: 11.09 MB / 0.7294 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/1.122, allocations: 62.67 kB / 0.7294 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005349/1.123, allocations: 32.59 kB / 0.7295 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001358/1.124, allocations: 1.355 MB / 0.7308 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/1.17, allocations: 55.38 MB / 0.7849 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/1.175, allocations: 4.433 MB / 0.7892 GB, free: 126 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/1.178, allocations: 3.242 MB / 0.7924 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.193, allocations: 12.95 MB / 0.805 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.193, allocations: 65.33 kB / 0.8051 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 4.318e-06/1.193, allocations: 3.312 kB / 0.8051 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.0577/1.251, allocations: 27.6 MB / 0.832 GB, free: 89.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.251, allocations: 205.9 kB / 0.8322 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/1.255, allocations: 3.341 MB / 0.8355 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/1.255, allocations: 25.7 kB / 0.8355 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/1.256, allocations: 3.227 MB / 0.8387 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/1.257, allocations: 0.9205 MB / 0.8396 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.257, allocations: 4 kB / 0.8396 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003079/1.257, allocations: 0.5946 MB / 0.8401 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/1.261, allocations: 2.997 MB / 0.8431 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/1.266, allocations: 7.044 MB / 0.8499 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/1.27, allocations: 4.557 MB / 0.8544 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.142e-05/1.27, allocations: 44 kB / 0.8544 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01919/1.29, allocations: 11.51 MB / 0.8657 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.29, allocations: 8.984 kB / 0.8657 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-05/1.29, allocations: 144 kB / 0.8658 GB, free: 54.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00892/1.299, allocations: 2.94 MB / 0.8687 GB, free: 51.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.304, allocations: 1.587 MB / 0.8702 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.322, allocations: 13.27 MB / 0.8832 GB, free: 36.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/1.328, allocations: 287.3 kB / 0.8835 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009932/1.329, allocations: 416 kB / 0.8839 GB, free: 35.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009035/1.33, allocations: 472.8 kB / 0.8843 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/1.331, allocations: 374.4 kB / 0.8847 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.344, allocations: 7.005 MB / 0.8915 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.344, allocations: 28 kB / 0.8915 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.344, allocations: 8 kB / 0.8916 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.344, allocations: 15.95 kB / 0.8916 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.368, allocations: 13.79 MB / 0.905 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.368, allocations: 0 / 0.905 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.37, allocations: 347.5 kB / 0.9054 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008699/1.379, allocations: 2.623 MB / 0.9079 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/1.379, allocations: 8 kB / 0.9079 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1444/1.523, allocations: 11.91 MB / 0.9196 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.523, allocations: 1.75 kB / 0.9196 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01695/1.54, allocations: 11.1 MB / 0.9304 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02031/1.561, allocations: 15.12 MB / 0.9452 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007594/1.561, allocations: 402.4 kB / 0.9456 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006382/1.562, allocations: 5.125 kB / 0.9456 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.564, allocations: 105.8 kB / 0.9457 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000339/1.564, allocations: 110 kB / 0.9458 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.565, allocations: 70.64 kB / 0.9458 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002954/1.568, allocations: 2.236 MB / 0.948 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005154/1.573, allocations: 1.126 MB / 0.9491 GB, free: 150.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004386/1.573, allocations: 148.8 kB / 0.9493 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009918/1.583, allocations: 7.484 MB / 0.9566 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.583, allocations: 0 / 0.9566 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003941/1.587, allocations: 2.898 MB / 0.9594 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.589, allocations: 363.2 kB / 0.9597 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.605, allocations: 9.89 MB / 0.9694 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/1.609, allocations: 4.065 MB / 0.9734 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.609, allocations: 0 / 0.9734 GB, free: 142.9 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)