Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.001693/0.001693, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.537/1.537, 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.0009503/0.0009505, allocations: 82.92 kB / 261.4 MB, free: 13.56 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.2394/0.2394, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2204/0.4599, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.7804, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.927, allocations: 105.8 MB / 0.5688 GB, free: 9.047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.9273, allocations: 79.56 kB / 0.5689 GB, free: 8.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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.506/1.433, allocations: 96.48 MB / 0.6631 GB, free: 105.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.433, allocations: 9.719 kB / 0.6631 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/1.459, allocations: 6.341 MB / 0.6693 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.476, allocations: 6.399 MB / 0.6756 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/1.476, allocations: 137.6 kB / 0.6757 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/1.479, allocations: 264.2 kB / 0.676 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0132/1.492, allocations: 6.807 MB / 0.6826 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/1.515, allocations: 9.795 MB / 0.6922 GB, free: 98.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004889/1.515, allocations: 68.69 kB / 0.6922 GB, free: 98.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/1.517, allocations: 28.88 kB / 0.6923 GB, free: 98.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/1.519, allocations: 1.1 MB / 0.6933 GB, free: 98.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05635/1.576, allocations: 47.04 MB / 0.7393 GB, free: 61.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/1.58, allocations: 3.025 MB / 0.7422 GB, free: 59.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/1.583, allocations: 1.937 MB / 0.7441 GB, free: 57.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/1.598, allocations: 8.378 MB / 0.7523 GB, free: 49.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.598, allocations: 47.5 kB / 0.7524 GB, free: 48.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 5.921e-06/1.598, allocations: 0 / 0.7524 GB, free: 48.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.06805/1.667, allocations: 24.76 MB / 0.7765 GB, free: 24.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.667, allocations: 213.8 kB / 0.7767 GB, free: 23.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008149/1.675, allocations: 3.329 MB / 0.78 GB, free: 20.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008707/1.676, allocations: 29.7 kB / 0.78 GB, free: 20.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/1.678, allocations: 2.984 MB / 0.7829 GB, free: 17.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.679, allocations: 0.8479 MB / 0.7838 GB, free: 16.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/1.68, allocations: 4 kB / 0.7838 GB, free: 16.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003965/1.68, allocations: 0.5828 MB / 0.7843 GB, free: 16.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.684, allocations: 3.387 MB / 0.7876 GB, free: 12.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005151/1.689, allocations: 7.136 MB / 0.7946 GB, free: 3.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.696, allocations: 5.014 MB / 0.7995 GB, free: 14.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.101e-05/1.696, allocations: 39.94 kB / 0.7995 GB, free: 14.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.03858/1.734, allocations: 14.67 MB / 0.8139 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.734, allocations: 4 kB / 0.8139 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002849/1.735, allocations: 136 kB / 0.814 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02387/1.758, allocations: 5.621 MB / 0.8195 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.764, allocations: 1.45 MB / 0.8209 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2488/2.013, allocations: 22.61 MB / 0.843 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/2.02, allocations: 223 kB / 0.8432 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/2.021, allocations: 405.6 kB / 0.8436 GB, free: 170.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (772): * Single equations (assignments): 767 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001278/2.022, allocations: 445.5 kB / 0.844 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/2.023, allocations: 372.4 kB / 0.8444 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/2.052, allocations: 10.59 MB / 0.8547 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001303/2.053, allocations: 27.06 kB / 0.8547 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/2.053, allocations: 8.438 kB / 0.8547 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/2.053, allocations: 13.25 kB / 0.8547 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04336/2.096, allocations: 19.08 MB / 0.8734 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/2.096, allocations: 7.641 kB / 0.8734 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/2.098, allocations: 341.8 kB / 0.8737 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/2.119, allocations: 4.689 MB / 0.8783 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007779/2.12, allocations: 7.906 kB / 0.8783 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02876/2.148, allocations: 18.6 MB / 0.8965 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/2.149, allocations: 5.938 kB / 0.8965 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0345/2.183, allocations: 14.45 MB / 0.9106 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04491/2.228, allocations: 26.65 MB / 0.9366 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/2.231, allocations: 0.9173 MB / 0.9375 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/2.232, allocations: 26.08 kB / 0.9375 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/2.235, allocations: 86.25 kB / 0.9376 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005576/2.236, allocations: 119.1 kB / 0.9377 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/2.236, allocations: 64 kB / 0.9378 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004519/2.241, allocations: 2.27 MB / 0.94 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008651/2.249, allocations: 1.15 MB / 0.9411 GB, free: 118.2 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 (165): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008562/2.25, allocations: 177 kB / 0.9413 GB, free: 118 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01054/2.261, allocations: 7.71 MB / 0.9488 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/2.261, allocations: 3.344 kB / 0.9488 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004028/2.265, allocations: 3 MB / 0.9518 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/2.268, allocations: 409.4 kB / 0.9521 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/2.291, allocations: 10.07 MB / 0.962 GB, free: 97.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/2.296, allocations: 3.881 MB / 0.9658 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/2.296, allocations: 3.906 kB / 0.9658 GB, free: 93.31 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)