Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",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.0011/0.0011, 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.217/1.217, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 85.97 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1737/0.1737, allocations: 45.14 MB / 383.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.3555, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.4328, allocations: 63.24 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/0.6879, allocations: 101 MB / 0.6025 GB, free: 2.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.6881, allocations: 77.95 kB / 0.6026 GB, free: 2.012 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.08111/0.7692, allocations: 31.35 MB / 0.6332 GB, free: 7.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.7693, allocations: 8 kB / 0.6332 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.7706, allocations: 309.2 kB / 0.6335 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.7727, allocations: 1.036 MB / 0.6345 GB, free: 5.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.7728, allocations: 52 kB / 0.6346 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.773, allocations: 92 kB / 0.6346 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003086/0.7761, allocations: 2.435 MB / 0.637 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.7802, allocations: 3.322 MB / 0.6403 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.7802, allocations: 11.88 kB / 0.6403 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.7804, allocations: 7.938 kB / 0.6403 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005235/0.7809, allocations: 435.5 kB / 0.6407 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.7959, allocations: 13.98 MB / 0.6544 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.797, allocations: 0.8046 MB / 0.6551 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.7978, allocations: 0.6543 MB / 0.6558 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00451/0.8023, allocations: 3.281 MB / 0.659 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.8023, allocations: 30.56 kB / 0.659 GB, free: 36 kB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.8023, allocations: 0 / 0.659 GB, free: 36 kB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.003673/0.806, allocations: 1.087 MB / 0.6601 GB, free: 14.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.806, allocations: 67.34 kB / 0.6601 GB, free: 14.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.8075, allocations: 1.212 MB / 0.6613 GB, free: 13.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.8075, allocations: 29.64 kB / 0.6613 GB, free: 13.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.8082, allocations: 1.184 MB / 0.6625 GB, free: 12.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.8083, allocations: 130.6 kB / 0.6626 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.8084, allocations: 0 / 0.6626 GB, free: 12.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.8086, allocations: 431 kB / 0.663 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.8092, allocations: 456.2 kB / 0.6635 GB, free: 11.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.8107, allocations: 1.872 MB / 0.6653 GB, free: 8.785 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8118, allocations: 0.8754 MB / 0.6662 GB, free: 7.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.8119, allocations: 16 kB / 0.6662 GB, free: 7.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002848/0.8147, allocations: 1.946 MB / 0.6681 GB, free: 5.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8147, allocations: 4 kB / 0.6681 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.8148, allocations: 59.89 kB / 0.6681 GB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.075e-05/0.8149, allocations: 76 kB / 0.6682 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.8163, allocations: 0.4912 MB / 0.6687 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.459e-05/0.8164, allocations: 99.59 kB / 0.6688 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.8176, allocations: 253.4 kB / 0.669 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.8178, allocations: 140 kB / 0.6692 GB, free: 4.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 275 * Array equations: 0 * 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.0002538/0.8181, allocations: 247.6 kB / 0.6694 GB, free: 4.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.8182, allocations: 106.6 kB / 0.6695 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.8184, allocations: 126.9 kB / 0.6696 GB, free: 4.348 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8184, allocations: 3.906 kB / 0.6696 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8185, allocations: 0 / 0.6696 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8185, allocations: 15.97 kB / 0.6696 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.8214, allocations: 2.18 MB / 0.6718 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.8215, allocations: 8 kB / 0.6718 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.8217, allocations: 67.91 kB / 0.6718 GB, free: 1.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.8217, allocations: 8 kB / 0.6718 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.8218, allocations: 12 kB / 0.6719 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.8218, allocations: 11.94 kB / 0.6719 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.8218, allocations: 15.94 kB / 0.6719 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008972/0.8227, allocations: 1.126 MB / 0.673 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001014/0.8237, allocations: 1.525 MB / 0.6745 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.8239, allocations: 191.5 kB / 0.6747 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.8241, allocations: 11.98 kB / 0.6747 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.8245, allocations: 15.98 kB / 0.6747 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.8246, allocations: 43.73 kB / 0.6747 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.8246, allocations: 20 kB / 0.6747 GB, free: 14.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0009637/0.8256, allocations: 0.7942 MB / 0.6755 GB, free: 13.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002158/0.8277, allocations: 382.3 kB / 0.6759 GB, free: 13.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * 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.0001519/0.8279, allocations: 123 kB / 0.676 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.8293, allocations: 1.063 MB / 0.677 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8293, allocations: 3.938 kB / 0.677 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.8295, allocations: 181.6 kB / 0.6772 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.8301, allocations: 145.9 kB / 0.6774 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.8338, allocations: 2.339 MB / 0.6796 GB, free: 9.227 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.8354, allocations: 1.648 MB / 0.6812 GB, free: 7.547 MB / 474.7 MB Notification: Performance of SimCode: time 1.973e-06/0.8354, allocations: 0 / 0.6812 GB, free: 7.547 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)