Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",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.001386/0.001385, allocations: 190.1 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.446/1.446, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009174/0.0009174, allocations: 95.44 kB / 261.4 MB, free: 13.54 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.207/0.207, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2335/0.4405, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.8234, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.9852, allocations: 106.2 MB / 0.5692 GB, free: 8.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.9854, allocations: 79.44 kB / 0.5693 GB, free: 8.605 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.5881/1.574, allocations: 116.8 MB / 0.6833 GB, free: 103.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.574, allocations: 10.62 kB / 0.6833 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02782/1.601, allocations: 6.581 MB / 0.6898 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02301/1.625, allocations: 6.952 MB / 0.6966 GB, free: 99.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.625, allocations: 178 kB / 0.6967 GB, free: 99.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003386/1.629, allocations: 325.2 kB / 0.697 GB, free: 99.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01908/1.648, allocations: 7.702 MB / 0.7046 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03315/1.681, allocations: 12 MB / 0.7163 GB, free: 88.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005365/1.681, allocations: 79.22 kB / 0.7164 GB, free: 88.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/1.685, allocations: 40 kB / 0.7164 GB, free: 88.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/1.686, allocations: 1.34 MB / 0.7177 GB, free: 86.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0647/1.751, allocations: 58.76 MB / 0.7751 GB, free: 26.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/1.755, allocations: 3.745 MB / 0.7787 GB, free: 22.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/1.758, allocations: 2.39 MB / 0.7811 GB, free: 20.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/1.771, allocations: 6.973 MB / 0.7879 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.772, allocations: 55.59 kB / 0.7879 GB, free: 13.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=174): time 5.58e-06/1.772, allocations: 0 / 0.7879 GB, free: 13.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.03593/1.807, allocations: 16.91 MB / 0.8045 GB, free: 12.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/1.808, allocations: 226.8 kB / 0.8047 GB, free: 11.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009637/1.817, allocations: 4.244 MB / 0.8088 GB, free: 7.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.818, allocations: 25.7 kB / 0.8088 GB, free: 7.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.821, allocations: 3.859 MB / 0.8126 GB, free: 3.566 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.823, allocations: 0.729 MB / 0.8133 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/1.823, allocations: 0 / 0.8133 GB, free: 2.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005038/1.824, allocations: 0.6202 MB / 0.8139 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.827, allocations: 2.252 MB / 0.8161 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/1.834, allocations: 6.922 MB / 0.8229 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/1.84, allocations: 3.952 MB / 0.8267 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.27e-05/1.84, allocations: 48 kB / 0.8268 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=975) (initialization): time 0.2463/2.086, allocations: 8.438 MB / 0.835 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/2.086, allocations: 3.844 kB / 0.835 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003259/2.087, allocations: 173.2 kB / 0.8352 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/2.088, allocations: 0.6169 MB / 0.8358 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006708/2.095, allocations: 1.695 MB / 0.8375 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/2.101, allocations: 5.452 MB / 0.8428 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007651/2.108, allocations: 228.9 kB / 0.843 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/2.11, allocations: 470 kB / 0.8434 GB, free: 169.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 767 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (923): * Single equations (assignments): 918 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002841/2.113, allocations: 0.5076 MB / 0.8439 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.114, allocations: 431.2 kB / 0.8444 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006388/2.121, allocations: 2.89 MB / 0.8472 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/2.121, allocations: 16.81 kB / 0.8472 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/2.121, allocations: 7.766 kB / 0.8472 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/2.121, allocations: 10.7 kB / 0.8472 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/2.14, allocations: 7.221 MB / 0.8543 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/2.14, allocations: 2.438 kB / 0.8543 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/2.142, allocations: 267.5 kB / 0.8545 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/2.143, allocations: 357 kB / 0.8549 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004944/2.144, allocations: 7.531 kB / 0.8549 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/2.15, allocations: 4.763 MB / 0.8595 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.15, allocations: 3.938 kB / 0.8595 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007424/2.157, allocations: 5.606 MB / 0.865 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009546/2.167, allocations: 7.924 MB / 0.8727 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/2.169, allocations: 0.7098 MB / 0.8734 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/2.171, allocations: 3.938 kB / 0.8734 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/2.173, allocations: 40.42 kB / 0.8735 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/2.174, allocations: 82.58 kB / 0.8735 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/2.174, allocations: 49.53 kB / 0.8736 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004835/2.179, allocations: 2.878 MB / 0.8764 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008001/2.187, allocations: 1.048 MB / 0.8774 GB, free: 158.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/2.187, allocations: 144.9 kB / 0.8776 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00847/2.196, allocations: 5.481 MB / 0.8829 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/2.196, allocations: 1.344 kB / 0.8829 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/2.198, allocations: 1.629 MB / 0.8845 GB, free: 156 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/2.202, allocations: 480.3 kB / 0.885 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/2.23, allocations: 9.579 MB / 0.8943 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007185/2.237, allocations: 4.587 MB / 0.8988 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.335e-06/2.237, allocations: 0 / 0.8988 GB, free: 148.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)