Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001218/0.001218, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008918/0.0008918, allocations: 90.95 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1985/0.3695, allocations: 69.37 MB / 452.7 MB, free: 76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.4561, allocations: 63.24 MB / 0.5039 GB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.7268, allocations: 109.6 MB / 0.6109 GB, free: 9.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.727, allocations: 73.78 kB / 0.611 GB, free: 9.586 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.2055/0.9325, allocations: 76.04 MB / 0.6853 GB, free: 5.609 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.9326, allocations: 12 kB / 0.6853 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/0.9413, allocations: 1.703 MB / 0.6869 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009068/0.9504, allocations: 3.441 MB / 0.6903 GB, free: 392 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.9506, allocations: 112 kB / 0.6904 GB, free: 280 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/0.9514, allocations: 200 kB / 0.6906 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008635/0.96, allocations: 5.276 MB / 0.6957 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.9723, allocations: 8.193 MB / 0.7037 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.9725, allocations: 51.56 kB / 0.7038 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.9729, allocations: 31.91 kB / 0.7038 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.9741, allocations: 0.9421 MB / 0.7047 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04408/1.018, allocations: 41.92 MB / 0.7457 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/1.022, allocations: 2.582 MB / 0.7482 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/1.024, allocations: 1.547 MB / 0.7497 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1401/1.164, allocations: 5.496 MB / 0.7551 GB, free: 204.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.164, allocations: 51 kB / 0.7551 GB, free: 204.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 4.679e-06/1.164, allocations: 0 / 0.7551 GB, free: 204.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130): time 0.01914/1.183, allocations: 10.78 MB / 0.7657 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.183, allocations: 168.6 kB / 0.7658 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/1.187, allocations: 2.852 MB / 0.7686 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.187, allocations: 25.7 kB / 0.7686 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.188, allocations: 2.635 MB / 0.7712 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/1.188, allocations: 0.5094 MB / 0.7717 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/1.189, allocations: 0 / 0.7717 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.189, allocations: 0.5356 MB / 0.7722 GB, free: 200 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.191, allocations: 1.642 MB / 0.7738 GB, free: 200 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/1.194, allocations: 5.173 MB / 0.7789 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/1.197, allocations: 2.906 MB / 0.7817 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-05/1.197, allocations: 42.12 kB / 0.7818 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.008838/1.206, allocations: 6.059 MB / 0.7877 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.206, allocations: 7.625 kB / 0.7877 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/1.206, allocations: 125.7 kB / 0.7878 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/1.207, allocations: 337.5 kB / 0.7881 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.211, allocations: 1.301 MB / 0.7894 GB, free: 194.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.213, allocations: 2.194 MB / 0.7915 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.217, allocations: 170.5 kB / 0.7917 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/1.217, allocations: 352 kB / 0.792 GB, free: 193.4 MB / 0.5261 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.000613/1.218, allocations: 424 kB / 0.7924 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/1.218, allocations: 281.5 kB / 0.7927 GB, free: 192.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/1.223, allocations: 2.23 MB / 0.7949 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/1.223, allocations: 10.5 kB / 0.7949 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.223, allocations: 3.969 kB / 0.7949 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.223, allocations: 7.031 kB / 0.7949 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009927/1.233, allocations: 5.285 MB / 0.8001 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.233, allocations: 0 / 0.8001 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/1.234, allocations: 170.9 kB / 0.8002 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/1.236, allocations: 0.6552 MB / 0.8009 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.236, allocations: 3.625 kB / 0.8009 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/1.241, allocations: 4.208 MB / 0.805 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.241, allocations: 3.938 kB / 0.805 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006217/1.247, allocations: 4.372 MB / 0.8093 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008211/1.255, allocations: 6.103 MB / 0.8152 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/1.256, allocations: 332.8 kB / 0.8155 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/1.256, allocations: 0 / 0.8155 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.258, allocations: 42.83 kB / 0.8156 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.258, allocations: 60.75 kB / 0.8156 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.258, allocations: 43.16 kB / 0.8157 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002465/1.26, allocations: 1.901 MB / 0.8175 GB, free: 181.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00475/1.265, allocations: 0.711 MB / 0.8182 GB, free: 180.4 MB / 0.5261 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.0003476/1.265, allocations: 139.9 kB / 0.8184 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004908/1.27, allocations: 3.877 MB / 0.8221 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.27, allocations: 4 kB / 0.8221 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.272, allocations: 1.083 MB / 0.8232 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.273, allocations: 298.4 kB / 0.8235 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/1.283, allocations: 5.961 MB / 0.8293 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003054/1.286, allocations: 3.097 MB / 0.8323 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/1.286, allocations: 0 / 0.8323 GB, free: 167.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)