Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.001129/0.001129, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009346/0.0009348, allocations: 93.42 kB / 286.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 45.15 MB / 383.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1957/0.3735, allocations: 69.36 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.4543, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.746, allocations: 123.1 MB / 0.6241 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.7462, allocations: 75.64 kB / 0.6242 GB, free: 12.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.7297/1.476, allocations: 232.4 MB / 0.8512 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.476, allocations: 11.47 kB / 0.8512 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04195/1.518, allocations: 10.12 MB / 0.8611 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03182/1.55, allocations: 12.39 MB / 0.8732 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007046/1.551, allocations: 458.6 kB / 0.8736 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005304/1.556, allocations: 0.8202 MB / 0.8744 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03303/1.589, allocations: 18.78 MB / 0.8927 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04814/1.637, allocations: 27.05 MB / 0.9192 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005526/1.638, allocations: 142.7 kB / 0.9193 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/1.641, allocations: 64 kB / 0.9193 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/1.644, allocations: 2.49 MB / 0.9218 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4296/2.074, allocations: 124.4 MB / 1.043 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008897/2.082, allocations: 8.195 MB / 1.051 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007395/2.09, allocations: 6.951 MB / 1.058 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04023/2.13, allocations: 31.14 MB / 1.089 GB, free: 87.55 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/2.13, allocations: 84.25 kB / 1.089 GB, free: 87.48 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=379): time 7.023e-06/2.13, allocations: 0 / 1.089 GB, free: 87.48 MB / 0.5574 GB Notification: Performance of matching and sorting (n=514): time 0.226/2.356, allocations: 91.06 MB / 1.178 GB, free: 34.43 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/2.356, allocations: 331.7 kB / 1.178 GB, free: 34.04 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/2.368, allocations: 7.226 MB / 1.185 GB, free: 27.7 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/2.369, allocations: 25.7 kB / 1.185 GB, free: 27.67 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004494/2.374, allocations: 7.961 MB / 1.193 GB, free: 20.54 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002797/2.377, allocations: 1.937 MB / 1.195 GB, free: 18.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/2.378, allocations: 0 / 1.195 GB, free: 18.8 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0009729/2.379, allocations: 0.9684 MB / 1.196 GB, free: 18.02 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01196/2.391, allocations: 8.988 MB / 1.204 GB, free: 9.312 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1913/2.583, allocations: 17.93 MB / 1.222 GB, free: 150.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/2.598, allocations: 12.48 MB / 1.234 GB, free: 150 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002333/2.599, allocations: 91.28 kB / 1.234 GB, free: 150 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2019) (initialization): time 0.06773/2.666, allocations: 32.17 MB / 1.266 GB, free: 148.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.666, allocations: 7.156 kB / 1.266 GB, free: 148.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04479/2.711, allocations: 21.28 MB / 1.286 GB, free: 145.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03277/2.744, allocations: 8.83 MB / 1.295 GB, free: 143.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/2.757, allocations: 3.62 MB / 1.298 GB, free: 143.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04477/2.802, allocations: 41.97 MB / 1.339 GB, free: 116.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01647/2.819, allocations: 0.9802 MB / 1.34 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003152/2.822, allocations: 0.9509 MB / 1.341 GB, free: 114.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1453 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1884): * Single equations (assignments): 1857 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002976/2.825, allocations: 0.8952 MB / 1.342 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/2.827, allocations: 0.7866 MB / 1.343 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05987/2.886, allocations: 25.74 MB / 1.368 GB, free: 94.3 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05902/2.946, allocations: 24.16 MB / 1.392 GB, free: 71.66 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.783e-05/2.946, allocations: 20 kB / 1.392 GB, free: 71.64 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/2.946, allocations: 30.22 kB / 1.392 GB, free: 71.62 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2833/3.229, allocations: 53.59 MB / 1.444 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/3.229, allocations: 3.438 kB / 1.444 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005371/3.235, allocations: 0.8521 MB / 1.445 GB, free: 139.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04886/3.283, allocations: 12.86 MB / 1.457 GB, free: 139.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001854/3.285, allocations: 86.08 kB / 1.458 GB, free: 139.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06445/3.35, allocations: 53.29 MB / 1.51 GB, free: 122.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02747/3.377, allocations: 20.06 MB / 1.529 GB, free: 111.6 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07258/3.45, allocations: 37.68 MB / 1.566 GB, free: 86.3 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2873/3.737, allocations: 72.39 MB / 1.637 GB, free: 137.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/3.739, allocations: 0.8355 MB / 1.637 GB, free: 137.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002812/3.742, allocations: 45.59 kB / 1.638 GB, free: 137.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008027/3.75, allocations: 476.4 kB / 1.638 GB, free: 137.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001415/3.752, allocations: 279.5 kB / 1.638 GB, free: 137.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008632/3.753, allocations: 156.6 kB / 1.638 GB, free: 137.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.007994/3.761, allocations: 4.82 MB / 1.643 GB, free: 137.3 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01748/3.778, allocations: 3.964 MB / 1.647 GB, free: 137.3 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (390): * Single equations (assignments): 375 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/3.78, allocations: 197.4 kB / 1.647 GB, free: 137.2 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03345/3.813, allocations: 22.43 MB / 1.669 GB, free: 134.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/3.813, allocations: 3.312 kB / 1.669 GB, free: 134.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/3.83, allocations: 10.42 MB / 1.679 GB, free: 129.5 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00712/3.837, allocations: 1.076 MB / 1.68 GB, free: 129.2 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06029/3.898, allocations: 30.16 MB / 1.71 GB, free: 119 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01887/3.917, allocations: 9.912 MB / 1.719 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of SimCode: time 1.312e-06/3.917, allocations: 0 / 1.719 GB, free: 113.5 MB / 0.5574 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_UniversalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)