Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 186.5 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000964/0.0009639, allocations: 81.84 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1972/0.1972, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2138/0.411, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.7785, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.9401, allocations: 107.5 MB / 0.5704 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.9404, allocations: 79.94 kB / 0.5705 GB, free: 7.324 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.5603/1.501, allocations: 101 MB / 0.6691 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/1.501, allocations: 7.594 kB / 0.6691 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/1.52, allocations: 4.198 MB / 0.6732 GB, free: 106.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/1.539, allocations: 6.133 MB / 0.6792 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/1.54, allocations: 147 kB / 0.6794 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/1.542, allocations: 274.7 kB / 0.6796 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01411/1.557, allocations: 7.662 MB / 0.6871 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/1.581, allocations: 11.09 MB / 0.6979 GB, free: 98.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/1.582, allocations: 74.88 kB / 0.698 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/1.584, allocations: 31.47 kB / 0.6981 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/1.586, allocations: 1.344 MB / 0.6994 GB, free: 97.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06401/1.65, allocations: 55.44 MB / 0.7535 GB, free: 48.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/1.655, allocations: 4.437 MB / 0.7578 GB, free: 44.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/1.659, allocations: 3.236 MB / 0.761 GB, free: 41.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/1.677, allocations: 12.98 MB / 0.7737 GB, free: 27.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.677, allocations: 59.81 kB / 0.7737 GB, free: 27.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 4.058e-06/1.677, allocations: 0 / 0.7737 GB, free: 27.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.06997/1.747, allocations: 27.71 MB / 0.8008 GB, free: 15.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.747, allocations: 210 kB / 0.801 GB, free: 15.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009247/1.756, allocations: 3.371 MB / 0.8043 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008635/1.757, allocations: 29.7 kB / 0.8043 GB, free: 12.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003617/1.761, allocations: 3.235 MB / 0.8075 GB, free: 8.914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.763, allocations: 0.9173 MB / 0.8084 GB, free: 7.984 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007525/1.764, allocations: 0 / 0.8084 GB, free: 7.984 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000543/1.764, allocations: 0.6073 MB / 0.8089 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005351/1.769, allocations: 2.993 MB / 0.8119 GB, free: 4.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009405/1.779, allocations: 7.042 MB / 0.8188 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008574/1.787, allocations: 4.548 MB / 0.8232 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.788, allocations: 44 kB / 0.8232 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.2533/2.041, allocations: 11.5 MB / 0.8345 GB, free: 172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/2.041, allocations: 10.83 kB / 0.8345 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/2.041, allocations: 140.9 kB / 0.8346 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009365/2.051, allocations: 2.943 MB / 0.8375 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006642/2.057, allocations: 1.584 MB / 0.839 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/2.079, allocations: 13.27 MB / 0.852 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00696/2.086, allocations: 280.5 kB / 0.8523 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/2.087, allocations: 419.2 kB / 0.8527 GB, free: 170.7 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.001435/2.089, allocations: 468.5 kB / 0.8531 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009652/2.09, allocations: 377.7 kB / 0.8535 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/2.104, allocations: 7.009 MB / 0.8603 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.554e-05/2.104, allocations: 21.94 kB / 0.8603 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/2.104, allocations: 10.62 kB / 0.8603 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/2.104, allocations: 11.77 kB / 0.8604 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/2.13, allocations: 13.82 MB / 0.8738 GB, free: 165 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/2.13, allocations: 2.375 kB / 0.8738 GB, free: 165 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/2.132, allocations: 356.2 kB / 0.8742 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008926/2.141, allocations: 2.616 MB / 0.8767 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006027/2.142, allocations: 9.078 kB / 0.8767 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/2.161, allocations: 11.92 MB / 0.8884 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.161, allocations: 0 / 0.8884 GB, free: 159.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0194/2.18, allocations: 11.09 MB / 0.8992 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02074/2.201, allocations: 15.13 MB / 0.914 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/2.203, allocations: 0.8774 MB / 0.9148 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008766/2.204, allocations: 9.656 kB / 0.9149 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/2.206, allocations: 109.4 kB / 0.915 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/2.207, allocations: 113.6 kB / 0.9151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/2.207, allocations: 61.97 kB / 0.9151 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003738/2.211, allocations: 2.26 MB / 0.9173 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008494/2.219, allocations: 1.127 MB / 0.9184 GB, free: 137.6 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.000679/2.22, allocations: 145.3 kB / 0.9186 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01302/2.233, allocations: 7.486 MB / 0.9259 GB, free: 131 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.233, allocations: 0 / 0.9259 GB, free: 131 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004938/2.238, allocations: 2.902 MB / 0.9287 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/2.241, allocations: 370.2 kB / 0.9291 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/2.269, allocations: 9.909 MB / 0.9388 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009625/2.278, allocations: 4.068 MB / 0.9427 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/2.278, allocations: 0 / 0.9427 GB, free: 116.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)