Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 186.2 kB / 7.799 MB, free: 2.277 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.306/1.306, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009729/0.0009728, allocations: 95.48 kB / 261.4 MB, free: 13.55 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.1973/0.1973, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/0.4097, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.7262, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.8897, allocations: 106.8 MB / 0.5698 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.89, allocations: 71.97 kB / 0.5699 GB, free: 7.973 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.4907/1.381, allocations: 74.32 MB / 0.6424 GB, free: 164.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.381, allocations: 10.12 kB / 0.6425 GB, free: 164.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008491/1.389, allocations: 1.699 MB / 0.6441 GB, free: 164 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/1.401, allocations: 4.148 MB / 0.6482 GB, free: 163.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.401, allocations: 109.6 kB / 0.6483 GB, free: 163.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/1.402, allocations: 208.2 kB / 0.6485 GB, free: 163.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0108/1.413, allocations: 5.268 MB / 0.6536 GB, free: 163.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/1.43, allocations: 8.2 MB / 0.6616 GB, free: 161.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.431, allocations: 58.66 kB / 0.6617 GB, free: 161.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005413/1.431, allocations: 28.28 kB / 0.6617 GB, free: 161.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/1.432, allocations: 0.9393 MB / 0.6626 GB, free: 161.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/1.476, allocations: 41.94 MB / 0.7036 GB, free: 131.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/1.48, allocations: 2.578 MB / 0.7061 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/1.481, allocations: 1.552 MB / 0.7076 GB, free: 129.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009545/1.491, allocations: 5.509 MB / 0.713 GB, free: 125.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.491, allocations: 47.94 kB / 0.713 GB, free: 125.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=121): time 8.816e-06/1.491, allocations: 0 / 0.713 GB, free: 125.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.03209/1.523, allocations: 10.85 MB / 0.7236 GB, free: 120.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.523, allocations: 165.1 kB / 0.7238 GB, free: 120.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009561/1.533, allocations: 2.863 MB / 0.7266 GB, free: 118.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/1.533, allocations: 25.7 kB / 0.7266 GB, free: 118.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.536, allocations: 2.637 MB / 0.7292 GB, free: 116.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.537, allocations: 0.509 MB / 0.7297 GB, free: 115.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/1.538, allocations: 0 / 0.7297 GB, free: 115.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005249/1.538, allocations: 0.5405 MB / 0.7302 GB, free: 115.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/1.541, allocations: 1.642 MB / 0.7318 GB, free: 113.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/1.546, allocations: 5.173 MB / 0.7369 GB, free: 107.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004876/1.551, allocations: 2.918 MB / 0.7397 GB, free: 104.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/1.551, allocations: 36 kB / 0.7398 GB, free: 104.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01293/1.564, allocations: 6.061 MB / 0.7457 GB, free: 99.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/1.564, allocations: 8 kB / 0.7457 GB, free: 99.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004653/1.564, allocations: 124 kB / 0.7458 GB, free: 99.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.565, allocations: 342.3 kB / 0.7461 GB, free: 98.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/1.57, allocations: 1.308 MB / 0.7474 GB, free: 97.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/1.573, allocations: 2.193 MB / 0.7495 GB, free: 95.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/1.578, allocations: 162.8 kB / 0.7497 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.579, allocations: 351.7 kB / 0.75 GB, free: 95.04 MB / 474.7 MB 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.001847/1.581, allocations: 418.4 kB / 0.7504 GB, free: 94.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.582, allocations: 284.2 kB / 0.7507 GB, free: 94.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007962/1.59, allocations: 2.233 MB / 0.7529 GB, free: 92.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.825e-05/1.59, allocations: 12 kB / 0.7529 GB, free: 92.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/1.59, allocations: 7.562 kB / 0.7529 GB, free: 92.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/1.59, allocations: 3.703 kB / 0.7529 GB, free: 92.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/1.612, allocations: 5.296 MB / 0.7581 GB, free: 88.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/1.612, allocations: 8.062 kB / 0.7581 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.614, allocations: 178.6 kB / 0.7583 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003617/1.618, allocations: 0.6443 MB / 0.7589 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.618, allocations: 4.703 kB / 0.7589 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/1.624, allocations: 4.202 MB / 0.763 GB, free: 83.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.624, allocations: 0 / 0.763 GB, free: 83.88 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007179/1.631, allocations: 4.375 MB / 0.7673 GB, free: 80.03 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008723/1.64, allocations: 6.097 MB / 0.7732 GB, free: 74.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.642, allocations: 0.505 MB / 0.7737 GB, free: 74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000847/1.643, allocations: 7.875 kB / 0.7737 GB, free: 73.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.644, allocations: 35.95 kB / 0.7738 GB, free: 73.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.644, allocations: 52.64 kB / 0.7738 GB, free: 73.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.645, allocations: 43.98 kB / 0.7738 GB, free: 73.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003802/1.648, allocations: 1.904 MB / 0.7757 GB, free: 71.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006067/1.654, allocations: 0.7037 MB / 0.7764 GB, free: 71.26 MB / 474.7 MB 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.000475/1.655, allocations: 143.9 kB / 0.7765 GB, free: 71.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/1.661, allocations: 3.877 MB / 0.7803 GB, free: 67.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.661, allocations: 4.062 kB / 0.7803 GB, free: 67.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/1.662, allocations: 1.07 MB / 0.7814 GB, free: 66.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.665, allocations: 290.2 kB / 0.7816 GB, free: 65.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.68, allocations: 5.979 MB / 0.7875 GB, free: 59.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004035/1.684, allocations: 3.118 MB / 0.7905 GB, free: 56.74 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/1.684, allocations: 0 / 0.7905 GB, free: 56.74 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)