Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_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 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 188.5 kB / 7.803 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.514/1.514, 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.001048/0.001048, allocations: 95.36 kB / 261.4 MB, free: 13.62 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.2377/0.2377, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2168/0.4546, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.7731, allocations: 58.83 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.9232, allocations: 108.6 MB / 0.5715 GB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.9234, allocations: 75.95 kB / 0.5716 GB, free: 6.223 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.5809/1.504, allocations: 129 MB / 0.6976 GB, free: 100.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.504, allocations: 9.438 kB / 0.6976 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03554/1.54, allocations: 7.638 MB / 0.7051 GB, free: 97.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/1.564, allocations: 7.431 MB / 0.7123 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006318/1.565, allocations: 194.7 kB / 0.7125 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/1.569, allocations: 353.3 kB / 0.7129 GB, free: 93.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02216/1.592, allocations: 10.43 MB / 0.723 GB, free: 82.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03332/1.625, allocations: 14.36 MB / 0.7371 GB, free: 67.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005169/1.625, allocations: 75.25 kB / 0.7371 GB, free: 67.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003258/1.629, allocations: 35.98 kB / 0.7372 GB, free: 67.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/1.631, allocations: 1.728 MB / 0.7389 GB, free: 65.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08097/1.712, allocations: 62.46 MB / 0.7999 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006951/1.719, allocations: 4.688 MB / 0.8044 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005196/1.725, allocations: 3.634 MB / 0.808 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/1.753, allocations: 15.53 MB / 0.8231 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/1.753, allocations: 64.56 kB / 0.8232 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=295): time 7.544e-06/1.753, allocations: 0 / 0.8232 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=345): time 0.2955/2.048, allocations: 29.21 MB / 0.8517 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/2.048, allocations: 218.3 kB / 0.8519 GB, free: 170 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008259/2.057, allocations: 4.362 MB / 0.8562 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000867/2.058, allocations: 25.7 kB / 0.8562 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002461/2.06, allocations: 4.179 MB / 0.8603 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/2.062, allocations: 1.234 MB / 0.8615 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/2.062, allocations: 5.031 kB / 0.8615 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004263/2.063, allocations: 0.7026 MB / 0.8622 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005713/2.068, allocations: 4.549 MB / 0.8666 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009308/2.078, allocations: 9.745 MB / 0.8762 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/2.087, allocations: 6.617 MB / 0.8826 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001589/2.087, allocations: 52.09 kB / 0.8827 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.0483/2.136, allocations: 17.7 MB / 0.9 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/2.136, allocations: 8.812 kB / 0.9 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006557/2.136, allocations: 185.9 kB / 0.9001 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/2.16, allocations: 5.331 MB / 0.9054 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009458/2.169, allocations: 2.102 MB / 0.9074 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02717/2.196, allocations: 20.9 MB / 0.9278 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009351/2.206, allocations: 311.9 kB / 0.9281 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/2.208, allocations: 0.5304 MB / 0.9286 GB, free: 130.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[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],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 (1115): * Single equations (assignments): 1107 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003903/2.212, allocations: 0.5676 MB / 0.9292 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/2.214, allocations: 484.7 kB / 0.9296 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03199/2.246, allocations: 12.08 MB / 0.9414 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/2.246, allocations: 51.84 kB / 0.9415 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-05/2.246, allocations: 8 kB / 0.9415 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/2.246, allocations: 11.53 kB / 0.9415 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05366/2.3, allocations: 22.54 MB / 0.9635 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-05/2.3, allocations: 4 kB / 0.9635 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/2.304, allocations: 0.5154 MB / 0.964 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0185/2.322, allocations: 4.33 MB / 0.9683 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/2.323, allocations: 19.98 kB / 0.9683 GB, free: 95.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/2.345, allocations: 16.81 MB / 0.9847 GB, free: 78.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/2.345, allocations: 4 kB / 0.9847 GB, free: 78.69 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03475/2.38, allocations: 17.3 MB / 1.002 GB, free: 61.11 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04989/2.429, allocations: 33.54 MB / 1.034 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004644/2.434, allocations: 1.205 MB / 1.036 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002404/2.437, allocations: 8 kB / 1.036 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/2.441, allocations: 123.8 kB / 1.036 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008779/2.442, allocations: 161.8 kB / 1.036 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006406/2.442, allocations: 83.94 kB / 1.036 GB, free: 25.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.2553/2.698, allocations: 2.923 MB / 1.039 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01132/2.709, allocations: 1.483 MB / 1.04 GB, free: 160.4 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 (260): * Single equations (assignments): 252 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008994/2.71, allocations: 165.5 kB / 1.04 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01561/2.726, allocations: 10.31 MB / 1.05 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.726, allocations: 0 / 1.05 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005276/2.731, allocations: 3.911 MB / 1.054 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/2.734, allocations: 450.8 kB / 1.055 GB, free: 160 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/2.764, allocations: 13.75 MB / 1.068 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008848/2.772, allocations: 5.157 MB / 1.073 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/2.772, allocations: 0 / 1.073 GB, free: 156.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)