Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.001114/0.001114, allocations: 192.6 kB / 7.807 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.259/1.259, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001011/0.001011, allocations: 90.02 kB / 261.4 MB, free: 13.52 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.206/0.206, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2253/0.4313, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.7526, allocations: 58.83 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.9014, allocations: 101.5 MB / 0.5646 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.9017, allocations: 87.39 kB / 0.5647 GB, free: 13.32 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.4741/1.376, allocations: 87.56 MB / 0.6502 GB, free: 109.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.376, allocations: 11.53 kB / 0.6502 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/1.389, allocations: 2.804 MB / 0.653 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/1.4, allocations: 4.224 MB / 0.6571 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.4, allocations: 130.8 kB / 0.6572 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/1.402, allocations: 218.2 kB / 0.6574 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01196/1.414, allocations: 7.446 MB / 0.6647 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/1.433, allocations: 9.665 MB / 0.6742 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/1.433, allocations: 31.38 kB / 0.6742 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006004/1.434, allocations: 12.34 kB / 0.6742 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/1.435, allocations: 1.285 MB / 0.6755 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05232/1.488, allocations: 33.44 MB / 0.7081 GB, free: 87.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006445/1.494, allocations: 4.287 MB / 0.7123 GB, free: 85.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/1.498, allocations: 2.392 MB / 0.7146 GB, free: 84.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01666/1.515, allocations: 10.12 MB / 0.7245 GB, free: 75.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/1.515, allocations: 51.77 kB / 0.7246 GB, free: 75.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=186): time 6.893e-06/1.515, allocations: 3.844 kB / 0.7246 GB, free: 75.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=201): time 0.0243/1.539, allocations: 11.89 MB / 0.7362 GB, free: 65.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.539, allocations: 64.72 kB / 0.7362 GB, free: 65.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/1.545, allocations: 2.504 MB / 0.7387 GB, free: 63.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/1.546, allocations: 25.7 kB / 0.7387 GB, free: 63.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/1.548, allocations: 2.81 MB / 0.7415 GB, free: 60.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.549, allocations: 0.7276 MB / 0.7422 GB, free: 59.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/1.55, allocations: 0 / 0.7422 GB, free: 59.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006428/1.55, allocations: 0.6042 MB / 0.7428 GB, free: 59.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.554, allocations: 2.197 MB / 0.7449 GB, free: 57.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004698/1.558, allocations: 5.337 MB / 0.7501 GB, free: 50.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/1.564, allocations: 3.476 MB / 0.7535 GB, free: 47.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.564, allocations: 32 kB / 0.7535 GB, free: 47.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01634/1.581, allocations: 7.509 MB / 0.7609 GB, free: 40.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.581, allocations: 7.984 kB / 0.7609 GB, free: 40.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002266/1.581, allocations: 112 kB / 0.761 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.583, allocations: 0.7581 MB / 0.7617 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0048/1.588, allocations: 1.252 MB / 0.763 GB, free: 38.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004878/1.593, allocations: 3.934 MB / 0.7668 GB, free: 34.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/1.598, allocations: 163.9 kB / 0.767 GB, free: 34.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.599, allocations: 335.7 kB / 0.7673 GB, free: 33.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (683): * Single equations (assignments): 676 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001654/1.601, allocations: 390 kB / 0.7676 GB, free: 33.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006496/1.601, allocations: 260.5 kB / 0.7679 GB, free: 33.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007412/1.609, allocations: 4.166 MB / 0.772 GB, free: 29.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.448e-05/1.609, allocations: 39.92 kB / 0.772 GB, free: 29.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.609, allocations: 4 kB / 0.772 GB, free: 29.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.609, allocations: 7.969 kB / 0.772 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/1.625, allocations: 8.105 MB / 0.7799 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.625, allocations: 0 / 0.7799 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.627, allocations: 267.6 kB / 0.7802 GB, free: 20.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.629, allocations: 0.5859 MB / 0.7808 GB, free: 20.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.629, allocations: 8 kB / 0.7808 GB, free: 20.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1.633, allocations: 3.423 MB / 0.7841 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.633, allocations: 0 / 0.7841 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008439/1.641, allocations: 6.382 MB / 0.7903 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01072/1.652, allocations: 9.158 MB / 0.7993 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.654, allocations: 0.6265 MB / 0.7999 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000827/1.655, allocations: 3.75 kB / 0.7999 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.656, allocations: 59.89 kB / 0.8 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.657, allocations: 81.19 kB / 0.8 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.657, allocations: 40 kB / 0.8001 GB, free: 148 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.003542/1.66, allocations: 1.646 MB / 0.8017 GB, free: 14.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006552/1.667, allocations: 0.8401 MB / 0.8025 GB, free: 13.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005751/1.667, allocations: 142.4 kB / 0.8026 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/1.678, allocations: 5.168 MB / 0.8077 GB, free: 8.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.678, allocations: 8 kB / 0.8077 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/1.681, allocations: 1.803 MB / 0.8094 GB, free: 6.531 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/1.683, allocations: 203.6 kB / 0.8096 GB, free: 6.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.7, allocations: 7.596 MB / 0.8171 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00565/1.706, allocations: 3.559 MB / 0.8205 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/1.706, allocations: 0 / 0.8205 GB, free: 11.09 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)