Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001494/0.001494, allocations: 181.2 kB / 8.516 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.156/1.156, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.0008862/0.0008862, allocations: 89.98 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.1577/0.1577, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.165/0.3228, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.413, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.6685, allocations: 108.7 MB / 0.6004 GB, free: 3.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.6687, allocations: 74.94 kB / 0.6004 GB, free: 3.883 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.2001/0.8688, allocations: 75.24 MB / 0.6739 GB, free: 8.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.8688, allocations: 11.94 kB / 0.6739 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008573/0.8774, allocations: 1.699 MB / 0.6756 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.8881, allocations: 3.979 MB / 0.6795 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.8883, allocations: 112 kB / 0.6796 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.8895, allocations: 204 kB / 0.6798 GB, free: 1.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008123/0.8976, allocations: 5.269 MB / 0.6849 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.908, allocations: 8.203 MB / 0.6929 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.9081, allocations: 51.56 kB / 0.693 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.9085, allocations: 28 kB / 0.693 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/0.9097, allocations: 0.9576 MB / 0.6939 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1991/1.109, allocations: 41.91 MB / 0.7349 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/1.111, allocations: 2.569 MB / 0.7374 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/1.112, allocations: 1.556 MB / 0.7389 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006036/1.118, allocations: 5.503 MB / 0.7443 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.119, allocations: 47.03 kB / 0.7443 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 3.446e-06/1.119, allocations: 0 / 0.7443 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.0173/1.136, allocations: 10.79 MB / 0.7548 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.136, allocations: 170.2 kB / 0.755 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/1.139, allocations: 2.847 MB / 0.7578 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/1.139, allocations: 25.7 kB / 0.7578 GB, free: 62.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/1.14, allocations: 2.633 MB / 0.7604 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/1.14, allocations: 0.5092 MB / 0.7609 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.141, allocations: 3.094 kB / 0.7609 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.141, allocations: 0.54 MB / 0.7614 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.143, allocations: 1.638 MB / 0.763 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/1.145, allocations: 5.167 MB / 0.7681 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/1.148, allocations: 2.919 MB / 0.7709 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.059e-05/1.148, allocations: 36.72 kB / 0.7709 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.007597/1.156, allocations: 6.063 MB / 0.7769 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.156, allocations: 6.188 kB / 0.7769 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-05/1.156, allocations: 133.7 kB / 0.777 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/1.156, allocations: 340.2 kB / 0.7773 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/1.16, allocations: 1.298 MB / 0.7786 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.162, allocations: 2.199 MB / 0.7807 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.165, allocations: 176.1 kB / 0.7809 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.165, allocations: 344.1 kB / 0.7812 GB, free: 53.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (691): * Single equations (assignments): 687 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004766/1.166, allocations: 425.5 kB / 0.7816 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/1.166, allocations: 279.6 kB / 0.7819 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/1.17, allocations: 2.227 MB / 0.7841 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.17, allocations: 11.75 kB / 0.7841 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.17, allocations: 3.906 kB / 0.7841 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.17, allocations: 11.17 kB / 0.7841 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008681/1.179, allocations: 5.293 MB / 0.7893 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.179, allocations: 0 / 0.7893 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/1.18, allocations: 170.2 kB / 0.7894 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002027/1.182, allocations: 0.6454 MB / 0.7901 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/1.182, allocations: 5.406 kB / 0.7901 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/1.186, allocations: 4.206 MB / 0.7942 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.186, allocations: 3.719 kB / 0.7942 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005401/1.192, allocations: 4.368 MB / 0.7984 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006458/1.198, allocations: 6.101 MB / 0.8044 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/1.199, allocations: 337.3 kB / 0.8047 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/1.199, allocations: 3.812 kB / 0.8047 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.2, allocations: 36.61 kB / 0.8048 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.2, allocations: 57.36 kB / 0.8048 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/1.2, allocations: 36.88 kB / 0.8049 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002243/1.203, allocations: 1.896 MB / 0.8067 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00435/1.207, allocations: 0.7118 MB / 0.8074 GB, free: 44.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003305/1.207, allocations: 152.3 kB / 0.8075 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004723/1.212, allocations: 3.873 MB / 0.8113 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.212, allocations: 0.7188 kB / 0.8113 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/1.213, allocations: 1.072 MB / 0.8124 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.215, allocations: 293 kB / 0.8127 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.226, allocations: 5.974 MB / 0.8185 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003435/1.229, allocations: 3.102 MB / 0.8215 GB, free: 38.93 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/1.229, allocations: 1.406 kB / 0.8215 GB, free: 38.93 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)