Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",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.002108/0.002108, allocations: 190 kB / 7.804 MB, free: 2.488 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.319/1.319, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009804/0.0009803, allocations: 92.8 kB / 261.4 MB, free: 13.47 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.221/0.221, allocations: 43.49 MB / 352.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2261/0.4471, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.7777, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.9287, allocations: 104.6 MB / 0.5676 GB, free: 10.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.9292, allocations: 79.45 kB / 0.5677 GB, free: 10.24 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.5398/1.469, allocations: 92.73 MB / 0.6582 GB, free: 107.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.469, allocations: 7.438 kB / 0.6582 GB, free: 107.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/1.484, allocations: 2.844 MB / 0.661 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/1.498, allocations: 4.499 MB / 0.6654 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/1.498, allocations: 137.6 kB / 0.6655 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003517/1.502, allocations: 250.3 kB / 0.6658 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0154/1.517, allocations: 7.866 MB / 0.6735 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/1.545, allocations: 10.22 MB / 0.6834 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/1.545, allocations: 29.06 kB / 0.6835 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/1.548, allocations: 17 kB / 0.6835 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/1.55, allocations: 1.331 MB / 0.6848 GB, free: 103.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0696/1.62, allocations: 35.69 MB / 0.7196 GB, free: 81.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004957/1.625, allocations: 3.099 MB / 0.7227 GB, free: 78.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/1.628, allocations: 2.471 MB / 0.7251 GB, free: 76.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/1.646, allocations: 9.717 MB / 0.7346 GB, free: 67.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.646, allocations: 48.58 kB / 0.7346 GB, free: 67.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 6.362e-06/1.646, allocations: 0 / 0.7346 GB, free: 67.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=232): time 0.0345/1.68, allocations: 15.61 MB / 0.7499 GB, free: 53.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.68, allocations: 73.39 kB / 0.7499 GB, free: 53.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005719/1.686, allocations: 2.563 MB / 0.7524 GB, free: 51.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/1.686, allocations: 25.7 kB / 0.7525 GB, free: 51.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.688, allocations: 2.932 MB / 0.7553 GB, free: 48.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009977/1.689, allocations: 0.8246 MB / 0.7561 GB, free: 47.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/1.69, allocations: 4 kB / 0.7561 GB, free: 47.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005148/1.69, allocations: 0.562 MB / 0.7567 GB, free: 46.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/1.694, allocations: 2.386 MB / 0.759 GB, free: 44.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.699, allocations: 5.586 MB / 0.7645 GB, free: 37.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/1.704, allocations: 3.711 MB / 0.7681 GB, free: 33.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.704, allocations: 32 kB / 0.7681 GB, free: 33.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01441/1.718, allocations: 8.086 MB / 0.776 GB, free: 25.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.719, allocations: 4 kB / 0.776 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002621/1.719, allocations: 115.9 kB / 0.7761 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/1.722, allocations: 0.907 MB / 0.777 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/1.727, allocations: 1.314 MB / 0.7783 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/1.734, allocations: 4.482 MB / 0.7827 GB, free: 18.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/1.74, allocations: 167.8 kB / 0.7828 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.741, allocations: 344 kB / 0.7832 GB, free: 17.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 713 * Array equations: 6 * 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 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002195/1.744, allocations: 403.2 kB / 0.7835 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.745, allocations: 280.3 kB / 0.7838 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008708/1.753, allocations: 4.737 MB / 0.7884 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/1.754, allocations: 35.98 kB / 0.7885 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/1.754, allocations: 7.906 kB / 0.7885 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/1.754, allocations: 7.969 kB / 0.7885 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.773, allocations: 9.334 MB / 0.7976 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.773, allocations: 4 kB / 0.7976 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.775, allocations: 327.5 kB / 0.7979 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.777, allocations: 0.6957 MB / 0.7986 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/1.777, allocations: 15.94 kB / 0.7986 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/1.783, allocations: 3.805 MB / 0.8023 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.783, allocations: 7.938 kB / 0.8023 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01233/1.795, allocations: 7.445 MB / 0.8096 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01524/1.81, allocations: 10.49 MB / 0.8199 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.812, allocations: 0.6692 MB / 0.8205 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.813, allocations: 4 kB / 0.8205 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.814, allocations: 71.89 kB / 0.8206 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/1.814, allocations: 93.77 kB / 0.8207 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.814, allocations: 60 kB / 0.8207 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002723/1.817, allocations: 1.692 MB / 0.8224 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005767/1.823, allocations: 0.8984 MB / 0.8233 GB, free: 8.215 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005587/1.824, allocations: 161.6 kB / 0.8234 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009965/1.834, allocations: 5.595 MB / 0.8289 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.834, allocations: 384 / 0.8289 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003892/1.838, allocations: 2.035 MB / 0.8309 GB, free: 400 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.839, allocations: 218.5 kB / 0.8311 GB, free: 180 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2597/2.099, allocations: 8.35 MB / 0.8392 GB, free: 182.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005543/2.105, allocations: 3.789 MB / 0.8429 GB, free: 182 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/2.105, allocations: 1.859 kB / 0.8429 GB, free: 182 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)