Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001471/0.001471, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000983/0.0009828, allocations: 95.86 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.261/0.261, allocations: 45.15 MB / 383.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2843/0.5453, allocations: 69.35 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.6663, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/1.043, allocations: 109.2 MB / 0.6105 GB, free: 9.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.043, allocations: 77.14 kB / 0.6106 GB, free: 9.828 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.3311/1.374, allocations: 110.5 MB / 0.7185 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.374, allocations: 12 kB / 0.7185 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04279/1.417, allocations: 6.513 MB / 0.7249 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/1.441, allocations: 6.469 MB / 0.7312 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/1.441, allocations: 160 kB / 0.7313 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/1.444, allocations: 299.8 kB / 0.7316 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01952/1.463, allocations: 7.274 MB / 0.7387 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/1.493, allocations: 11.03 MB / 0.7495 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/1.493, allocations: 79.23 kB / 0.7496 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/1.494, allocations: 36 kB / 0.7496 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/1.497, allocations: 1.218 MB / 0.7508 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2916/1.788, allocations: 54.99 MB / 0.8045 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/1.793, allocations: 4.282 MB / 0.8087 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/1.797, allocations: 2.957 MB / 0.8116 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/1.813, allocations: 9.592 MB / 0.8209 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.813, allocations: 57.83 kB / 0.821 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 7.023e-06/1.813, allocations: 0 / 0.821 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.07247/1.885, allocations: 26.61 MB / 0.847 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/1.886, allocations: 213 kB / 0.8472 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006073/1.892, allocations: 3.629 MB / 0.8507 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/1.892, allocations: 25.7 kB / 0.8507 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.894, allocations: 3.262 MB / 0.8539 GB, free: 135 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.895, allocations: 0.9415 MB / 0.8549 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/1.896, allocations: 0 / 0.8549 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003111/1.896, allocations: 0.5958 MB / 0.8554 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.9, allocations: 2.907 MB / 0.8583 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/1.905, allocations: 6.816 MB / 0.8649 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005538/1.911, allocations: 4.42 MB / 0.8692 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-05/1.911, allocations: 40 kB / 0.8693 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.02498/1.936, allocations: 11.96 MB / 0.881 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.936, allocations: 4 kB / 0.881 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.936, allocations: 140 kB / 0.8811 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/1.948, allocations: 3.842 MB / 0.8849 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005225/1.953, allocations: 1.441 MB / 0.8863 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/1.984, allocations: 23.11 MB / 0.9088 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/1.991, allocations: 225.5 kB / 0.909 GB, free: 85.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/1.992, allocations: 411 kB / 0.9094 GB, free: 85.31 MB / 0.5261 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.001331/1.994, allocations: 456.7 kB / 0.9099 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.995, allocations: 414.7 kB / 0.9103 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/2.011, allocations: 7.593 MB / 0.9177 GB, free: 78.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/2.011, allocations: 24 kB / 0.9177 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/2.011, allocations: 14.25 kB / 0.9177 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/2.011, allocations: 15 kB / 0.9177 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/2.041, allocations: 15.2 MB / 0.9326 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/2.041, allocations: 8 kB / 0.9326 GB, free: 63.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.042, allocations: 283.5 kB / 0.9329 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/2.053, allocations: 3.537 MB / 0.9363 GB, free: 59.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006502/2.053, allocations: 8 kB / 0.9363 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/2.08, allocations: 21.87 MB / 0.9577 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/2.08, allocations: 15.36 kB / 0.9577 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01883/2.099, allocations: 12.11 MB / 0.9695 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02956/2.129, allocations: 22.83 MB / 0.9918 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/2.13, allocations: 439.7 kB / 0.9922 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008711/2.131, allocations: 16.02 kB / 0.9922 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/2.133, allocations: 79.89 kB / 0.9923 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/2.134, allocations: 133.7 kB / 0.9924 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/2.134, allocations: 72 kB / 0.9925 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.1927/2.327, allocations: 2.475 MB / 0.9949 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01008/2.337, allocations: 1.203 MB / 0.9961 GB, free: 171.3 MB / 0.5261 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.000931/2.338, allocations: 158.7 kB / 0.9963 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01461/2.352, allocations: 7.523 MB / 1.004 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/2.352, allocations: 5.594 kB / 1.004 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/2.358, allocations: 3.115 MB / 1.007 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/2.361, allocations: 443.5 kB / 1.007 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/2.386, allocations: 10.39 MB / 1.017 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006128/2.392, allocations: 4.285 MB / 1.021 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.073e-06/2.392, allocations: 0 / 1.021 GB, free: 167.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)