Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",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.001554/0.001554, allocations: 185.5 kB / 7.8 MB, free: 2.504 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.34/1.34, 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.0009164/0.0009163, allocations: 95.34 kB / 261.4 MB, free: 13.53 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.1858/0.1858, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.3903, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.718, allocations: 58.84 MB / 476.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.8741, allocations: 108.2 MB / 0.5712 GB, free: 6.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.8744, allocations: 79.47 kB / 0.5712 GB, free: 6.613 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.5811/1.455, allocations: 121.1 MB / 0.6895 GB, free: 102.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.456, allocations: 7.844 kB / 0.6895 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/1.486, allocations: 6.633 MB / 0.696 GB, free: 101.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02356/1.509, allocations: 7.897 MB / 0.7037 GB, free: 97.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006802/1.51, allocations: 191.3 kB / 0.7039 GB, free: 97.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003783/1.514, allocations: 353.5 kB / 0.7042 GB, free: 97.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02028/1.534, allocations: 8.464 MB / 0.7125 GB, free: 93.51 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/1.565, allocations: 12.67 MB / 0.7249 GB, free: 79.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005622/1.566, allocations: 91.14 kB / 0.725 GB, free: 79.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/1.568, allocations: 39.94 kB / 0.725 GB, free: 79.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002014/1.571, allocations: 1.406 MB / 0.7264 GB, free: 78.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07584/1.646, allocations: 60.76 MB / 0.7857 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/1.653, allocations: 5.065 MB / 0.7907 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004348/1.657, allocations: 3.545 MB / 0.7941 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/1.675, allocations: 9.772 MB / 0.8037 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/1.675, allocations: 60.55 kB / 0.8037 GB, free: 13.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 8.817e-06/1.675, allocations: 0 / 0.8037 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=316): time 0.06752/1.743, allocations: 28.72 MB / 0.8318 GB, free: 404 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.743, allocations: 261.4 kB / 0.832 GB, free: 84 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.199/1.942, allocations: 4.003 MB / 0.8359 GB, free: 179 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007757/1.943, allocations: 25.7 kB / 0.8359 GB, free: 179 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/1.945, allocations: 3.715 MB / 0.8396 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.946, allocations: 1.137 MB / 0.8407 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/1.946, allocations: 0 / 0.8407 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003807/1.947, allocations: 0.6397 MB / 0.8413 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/1.951, allocations: 3.239 MB / 0.8445 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/1.957, allocations: 7.601 MB / 0.8519 GB, free: 171.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/1.964, allocations: 4.945 MB / 0.8567 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.964, allocations: 45.44 kB / 0.8568 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1030) (initialization): time 0.01924/1.984, allocations: 11.62 MB / 0.8681 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.984, allocations: 3.531 kB / 0.8681 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.984, allocations: 155.2 kB / 0.8683 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/1.989, allocations: 2.086 MB / 0.8703 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006037/1.995, allocations: 1.777 MB / 0.872 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/2.012, allocations: 13.2 MB / 0.8849 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/2.019, allocations: 254.2 kB / 0.8852 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/2.021, allocations: 471.8 kB / 0.8856 GB, free: 161.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (954): * Single equations (assignments): 949 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001301/2.022, allocations: 494.4 kB / 0.8861 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/2.023, allocations: 460.2 kB / 0.8865 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/2.036, allocations: 6.811 MB / 0.8932 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/2.036, allocations: 32.28 kB / 0.8932 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/2.036, allocations: 9.5 kB / 0.8932 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/2.036, allocations: 15.36 kB / 0.8932 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/2.064, allocations: 14.41 MB / 0.9073 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/2.064, allocations: 4 kB / 0.9073 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/2.067, allocations: 476.1 kB / 0.9078 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004585/2.072, allocations: 1.769 MB / 0.9095 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000496/2.072, allocations: 31.41 kB / 0.9095 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/2.086, allocations: 11.43 MB / 0.9207 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/2.086, allocations: 16.7 kB / 0.9207 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01456/2.101, allocations: 11.85 MB / 0.9323 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01883/2.12, allocations: 16.04 MB / 0.9479 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/2.123, allocations: 0.9946 MB / 0.9489 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.124, allocations: 15.89 kB / 0.9489 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/2.126, allocations: 120.5 kB / 0.949 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/2.126, allocations: 150.7 kB / 0.9492 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/2.127, allocations: 87.61 kB / 0.9493 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004297/2.131, allocations: 2.731 MB / 0.9519 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009023/2.14, allocations: 1.272 MB / 0.9532 GB, free: 108.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 250 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 18,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006812/2.141, allocations: 171.1 kB / 0.9533 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.155, allocations: 8.408 MB / 0.9616 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.155, allocations: 0 / 0.9616 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006164/2.161, allocations: 3.495 MB / 0.965 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/2.164, allocations: 498.5 kB / 0.9654 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/2.188, allocations: 12.23 MB / 0.9774 GB, free: 85.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007583/2.195, allocations: 4.904 MB / 0.9822 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of SimCode: time 2.414e-06/2.196, allocations: 0 / 0.9822 GB, free: 80.43 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)