Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.001454/0.001454, allocations: 171.4 kB / 8.514 MB, free: 1.852 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.18/1.18, 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.0009256/0.0009256, allocations: 97.95 kB / 281.2 MB, free: 5.512 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.162/0.162, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.175/0.337, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.4303, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2715/0.7018, allocations: 105.7 MB / 0.5974 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.702, allocations: 80.61 kB / 0.5974 GB, free: 6.953 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.4697/1.172, allocations: 114.7 MB / 0.7095 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/1.172, allocations: 11.16 kB / 0.7095 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03478/1.207, allocations: 10.04 MB / 0.7193 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/1.226, allocations: 9.293 MB / 0.7284 GB, free: 99.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/1.227, allocations: 215.5 kB / 0.7286 GB, free: 99.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/1.228, allocations: 287.3 kB / 0.7288 GB, free: 99.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00924/1.237, allocations: 6.63 MB / 0.7353 GB, free: 99.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/1.25, allocations: 9.197 MB / 0.7443 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.25, allocations: 62.64 kB / 0.7443 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006029/1.25, allocations: 16.97 kB / 0.7444 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001328/1.252, allocations: 1.09 MB / 0.7454 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/1.301, allocations: 44.94 MB / 0.7893 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007391/1.309, allocations: 5.851 MB / 0.795 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/1.315, allocations: 5.452 MB / 0.8004 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/1.332, allocations: 13.92 MB / 0.8139 GB, free: 53.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.332, allocations: 68.81 kB / 0.814 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 4.88e-06/1.332, allocations: 0 / 0.814 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=396): time 0.1303/1.462, allocations: 52.47 MB / 0.8653 GB, free: 7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.463, allocations: 197.2 kB / 0.8654 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/1.467, allocations: 3.231 MB / 0.8686 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/1.468, allocations: 29.7 kB / 0.8686 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009863/1.469, allocations: 2.338 MB / 0.8709 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.47, allocations: 1.321 MB / 0.8722 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/1.471, allocations: 0 / 0.8722 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003516/1.471, allocations: 0.5254 MB / 0.8727 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005867/1.477, allocations: 4.056 MB / 0.8767 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00718/1.484, allocations: 6.053 MB / 0.8826 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/1.491, allocations: 5.036 MB / 0.8875 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/1.492, allocations: 20 kB / 0.8875 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=702) (initialization): time 0.1736/1.665, allocations: 16.53 MB / 0.9037 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.665, allocations: 3.938 kB / 0.9037 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-05/1.665, allocations: 68.34 kB / 0.9037 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.689, allocations: 7.856 MB / 0.9114 GB, free: 174.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/1.693, allocations: 0.992 MB / 0.9124 GB, free: 174.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0561/1.749, allocations: 42.76 MB / 0.9541 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/1.755, allocations: 258.3 kB / 0.9544 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.756, allocations: 278.9 kB / 0.9547 GB, free: 165.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (512): * Single equations (assignments): 507 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(14,44.4%) 101,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.757, allocations: 314.9 kB / 0.955 GB, free: 165.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008274/1.758, allocations: 454.3 kB / 0.9554 GB, free: 165.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03068/1.788, allocations: 15.74 MB / 0.9708 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02999/1.818, allocations: 14.42 MB / 0.9848 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-05/1.818, allocations: 26.84 kB / 0.9849 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.569e-05/1.818, allocations: 21.05 kB / 0.9849 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0558/1.874, allocations: 31.81 MB / 1.016 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.874, allocations: 8 kB / 1.016 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.876, allocations: 386.4 kB / 1.016 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02278/1.899, allocations: 7.574 MB / 1.024 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008614/1.9, allocations: 18.12 kB / 1.024 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05436/1.955, allocations: 42.28 MB / 1.065 GB, free: 86.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01195/1.967, allocations: 8.677 MB / 1.074 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03551/2.002, allocations: 21.79 MB / 1.095 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04193/2.044, allocations: 28.62 MB / 1.123 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/2.045, allocations: 483.3 kB / 1.123 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/2.047, allocations: 8 kB / 1.123 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003705/2.051, allocations: 179.7 kB / 1.123 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008244/2.052, allocations: 206 kB / 1.124 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005554/2.052, allocations: 99.98 kB / 1.124 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004065/2.056, allocations: 2.344 MB / 1.126 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006679/2.063, allocations: 1.609 MB / 1.128 GB, free: 22.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006128/2.064, allocations: 130.3 kB / 1.128 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.079, allocations: 10.72 MB / 1.138 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/2.079, allocations: 4 kB / 1.138 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.1474/2.227, allocations: 5.92 MB / 1.144 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/2.23, allocations: 0.6107 MB / 1.144 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/2.256, allocations: 13.01 MB / 1.157 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005766/2.262, allocations: 4.407 MB / 1.162 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.262, allocations: 5.422 kB / 1.162 GB, free: 172.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)