Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",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.001462/0.001462, allocations: 190.4 kB / 7.803 MB, free: 2.496 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.475/1.475, 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.0007822/0.0007822, allocations: 90.59 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.1987/0.1987, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2198/0.4186, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.7428, allocations: 58.84 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.8927, allocations: 100.6 MB / 0.5637 GB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.893, allocations: 63.97 kB / 0.5638 GB, free: 14.18 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.1641/1.057, allocations: 59.5 MB / 0.6219 GB, free: 2.164 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.057, allocations: 8 kB / 0.6219 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007673/1.065, allocations: 1.58 MB / 0.6235 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/1.073, allocations: 3.404 MB / 0.6268 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.073, allocations: 76 kB / 0.6269 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/1.074, allocations: 139.9 kB / 0.627 GB, free: 12.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006092/1.08, allocations: 4.089 MB / 0.631 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007478/1.088, allocations: 6.394 MB / 0.6372 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-05/1.088, allocations: 43.61 kB / 0.6373 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/1.088, allocations: 24 kB / 0.6373 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008508/1.089, allocations: 0.7693 MB / 0.638 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1401/1.229, allocations: 32.83 MB / 0.6701 GB, free: 149.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/1.231, allocations: 2.077 MB / 0.6721 GB, free: 149 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/1.232, allocations: 1.136 MB / 0.6732 GB, free: 148.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005194/1.237, allocations: 3.817 MB / 0.677 GB, free: 147.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/1.237, allocations: 49.89 kB / 0.677 GB, free: 147.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.507e-06/1.237, allocations: 0 / 0.677 GB, free: 147.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.009981/1.247, allocations: 6.241 MB / 0.6831 GB, free: 145.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.247, allocations: 141.9 kB / 0.6832 GB, free: 145.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/1.25, allocations: 2.219 MB / 0.6854 GB, free: 144.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/1.25, allocations: 25.7 kB / 0.6854 GB, free: 144.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/1.251, allocations: 2.077 MB / 0.6875 GB, free: 142.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.251, allocations: 430.3 kB / 0.6879 GB, free: 142.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.251, allocations: 0 / 0.6879 GB, free: 142.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.252, allocations: 0.5513 MB / 0.6884 GB, free: 142.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.253, allocations: 1.33 MB / 0.6897 GB, free: 141.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/1.255, allocations: 4.289 MB / 0.6939 GB, free: 137.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/1.258, allocations: 2.393 MB / 0.6962 GB, free: 136.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.621e-05/1.258, allocations: 32.66 kB / 0.6963 GB, free: 136.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.00625/1.264, allocations: 4.871 MB / 0.701 GB, free: 135 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.264, allocations: 4.125 kB / 0.701 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/1.264, allocations: 110.3 kB / 0.7011 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/1.264, allocations: 160.5 kB / 0.7013 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.268, allocations: 1.092 MB / 0.7023 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001604/1.268, allocations: 211.8 kB / 0.7025 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.271, allocations: 180.3 kB / 0.7027 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.271, allocations: 291.8 kB / 0.703 GB, free: 134.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005228/1.272, allocations: 364.3 kB / 0.7033 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/1.272, allocations: 214.1 kB / 0.7036 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/1.274, allocations: 1.186 MB / 0.7047 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.274, allocations: 8.25 kB / 0.7047 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.274, allocations: 8.422 kB / 0.7047 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.274, allocations: 4.469 kB / 0.7047 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/1.28, allocations: 3.982 MB / 0.7086 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.28, allocations: 6.938 kB / 0.7086 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/1.281, allocations: 184.1 kB / 0.7088 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/1.281, allocations: 11.66 kB / 0.7088 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/1.281, allocations: 18.59 kB / 0.7088 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/1.281, allocations: 21.78 kB / 0.7088 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.282, allocations: 8.312 kB / 0.7089 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002427/1.284, allocations: 2.648 MB / 0.7114 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002421/1.286, allocations: 3.072 MB / 0.7144 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/1.287, allocations: 422.9 kB / 0.7148 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/1.287, allocations: 13.06 kB / 0.7149 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.288, allocations: 44.98 kB / 0.7149 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.289, allocations: 69.06 kB / 0.715 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/1.289, allocations: 35.22 kB / 0.715 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001949/1.291, allocations: 1.471 MB / 0.7164 GB, free: 126.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0038/1.295, allocations: 0.5376 MB / 0.717 GB, free: 126.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/1.295, allocations: 160.2 kB / 0.7171 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003778/1.299, allocations: 3.059 MB / 0.7201 GB, free: 123.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.299, allocations: 4 kB / 0.7201 GB, free: 123.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007541/1.299, allocations: 0.7546 MB / 0.7208 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.3, allocations: 204.3 kB / 0.721 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/1.308, allocations: 4.688 MB / 0.7256 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/1.31, allocations: 2.468 MB / 0.728 GB, free: 116.3 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/1.311, allocations: 0 / 0.728 GB, free: 116.3 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1)