Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.001299/0.001299, allocations: 190 kB / 7.803 MB, free: 2.5 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.558/1.558, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001033/0.001033, allocations: 85.52 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.2379/0.2379, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2253/0.4634, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.7797, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.9305, allocations: 106.5 MB / 0.5695 GB, free: 8.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.9308, allocations: 79.95 kB / 0.5695 GB, free: 8.41 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.5114/1.442, allocations: 105.4 MB / 0.6725 GB, free: 105.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.442, allocations: 10.16 kB / 0.6725 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02597/1.468, allocations: 6.528 MB / 0.6788 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.488, allocations: 7.573 MB / 0.6862 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/1.488, allocations: 161.9 kB / 0.6864 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.491, allocations: 295.2 kB / 0.6867 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01565/1.506, allocations: 7.278 MB / 0.6938 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/1.535, allocations: 11.03 MB / 0.7045 GB, free: 94.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006096/1.536, allocations: 83.67 kB / 0.7046 GB, free: 94.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002761/1.539, allocations: 36.88 kB / 0.7047 GB, free: 94.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/1.541, allocations: 1.219 MB / 0.7059 GB, free: 94.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06435/1.605, allocations: 55.06 MB / 0.7596 GB, free: 42.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005166/1.611, allocations: 4.278 MB / 0.7638 GB, free: 37.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/1.614, allocations: 2.951 MB / 0.7667 GB, free: 34.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/1.631, allocations: 9.594 MB / 0.7761 GB, free: 25.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.631, allocations: 63.77 kB / 0.7761 GB, free: 25.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 5.07e-06/1.631, allocations: 0 / 0.7761 GB, free: 25.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.06929/1.7, allocations: 26.75 MB / 0.8022 GB, free: 14.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.7, allocations: 209.9 kB / 0.8024 GB, free: 14.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009365/1.71, allocations: 3.663 MB / 0.806 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.711, allocations: 25.7 kB / 0.806 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.714, allocations: 3.262 MB / 0.8092 GB, free: 7.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00228/1.716, allocations: 0.9364 MB / 0.8101 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.718, allocations: 0 / 0.8101 GB, free: 6.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00105/1.719, allocations: 0.6032 MB / 0.8107 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006103/1.725, allocations: 2.899 MB / 0.8136 GB, free: 2.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0092/1.734, allocations: 6.811 MB / 0.8202 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008052/1.742, allocations: 4.423 MB / 0.8245 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/1.742, allocations: 40 kB / 0.8246 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.2526/1.995, allocations: 11.95 MB / 0.8362 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.995, allocations: 6.953 kB / 0.8363 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002234/1.995, allocations: 139.8 kB / 0.8364 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/2.007, allocations: 3.845 MB / 0.8401 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/2.013, allocations: 1.441 MB / 0.8415 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03271/2.046, allocations: 23.1 MB / 0.8641 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006051/2.052, allocations: 216.2 kB / 0.8643 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/2.053, allocations: 418 kB / 0.8647 GB, free: 165.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (784): * Single equations (assignments): 778 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.001229/2.054, allocations: 453.5 kB / 0.8651 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/2.055, allocations: 418.7 kB / 0.8655 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/2.071, allocations: 7.606 MB / 0.873 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.262e-05/2.071, allocations: 23.53 kB / 0.873 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/2.071, allocations: 12.75 kB / 0.873 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/2.071, allocations: 9.938 kB / 0.873 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/2.1, allocations: 15.23 MB / 0.8879 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/2.1, allocations: 8.875 kB / 0.8879 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/2.101, allocations: 276.4 kB / 0.8882 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/2.113, allocations: 3.532 MB / 0.8916 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007219/2.114, allocations: 15.69 kB / 0.8916 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02999/2.144, allocations: 21.87 MB / 0.913 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/2.144, allocations: 10.16 kB / 0.913 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0191/2.163, allocations: 12.12 MB / 0.9248 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03349/2.196, allocations: 22.83 MB / 0.9471 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/2.199, allocations: 0.8923 MB / 0.948 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/2.201, allocations: 11.91 kB / 0.948 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/2.204, allocations: 76.55 kB / 0.9481 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/2.205, allocations: 135.1 kB / 0.9482 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003806/2.205, allocations: 69.59 kB / 0.9483 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005559/2.211, allocations: 2.5 MB / 0.9507 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00917/2.22, allocations: 1.194 MB / 0.9519 GB, free: 106 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008386/2.221, allocations: 161.2 kB / 0.952 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01272/2.233, allocations: 7.529 MB / 0.9594 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/2.234, allocations: 4 kB / 0.9594 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005485/2.239, allocations: 3.111 MB / 0.9624 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/2.243, allocations: 459.7 kB / 0.9629 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/2.268, allocations: 10.42 MB / 0.973 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007413/2.276, allocations: 4.296 MB / 0.9772 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/2.276, allocations: 0 / 0.9772 GB, free: 80.45 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)