Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.217/0.217, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3352, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01987/0.3551, allocations: 16.25 MB / 0.5465 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.3677, allocations: 5.342 MB / 0.5517 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.3707, allocations: 95.75 kB / 0.5518 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00824/0.379, allocations: 4.15 MB / 0.5558 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.3869, allocations: 2.712 MB / 0.5585 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.39, allocations: 1.263 MB / 0.5597 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.4027, allocations: 7.733 MB / 0.5673 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008697/0.4115, allocations: 5.848 MB / 0.573 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.4168, allocations: 2.671 MB / 0.5756 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006536/0.4234, allocations: 3.762 MB / 0.5792 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002298/0.4257, allocations: 0.5938 MB / 0.5798 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/0.4303, allocations: 1.756 MB / 0.5815 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004564/0.4349, allocations: 3.273 MB / 0.5847 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006054/0.441, allocations: 3.806 MB / 0.5885 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.4578, allocations: 12.43 MB / 0.6006 GB, free: 9.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4579, allocations: 0 / 0.6006 GB, free: 9.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4579, allocations: 3.938 kB / 0.6006 GB, free: 9.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003905/0.4583, allocations: 0 / 0.6006 GB, free: 9.758 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01824/0.4766, allocations: 8.159 MB / 0.6086 GB, free: 1.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4766, allocations: 8.031 kB / 0.6086 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002535/0.4792, allocations: 1.318 MB / 0.6099 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/0.5092, allocations: 5.751 MB / 0.6155 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.5213, allocations: 4.892 MB / 0.6203 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.5218, allocations: 402 kB / 0.6206 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/0.5242, allocations: 0.5464 MB / 0.6212 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.5622, allocations: 18.84 MB / 0.6396 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/0.5625, allocations: 71.45 kB / 0.6396 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009099/0.5634, allocations: 243.8 kB / 0.6399 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005564/0.569, allocations: 3.428 MB / 0.6432 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03931/0.6083, allocations: 16.52 MB / 0.6594 GB, free: 12.33 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5977/1.206, allocations: 66.6 MB / 0.7244 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.221, allocations: 6.275 MB / 0.7305 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/1.225, allocations: 2.833 MB / 0.7333 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/1.243, allocations: 13.95 MB / 0.7469 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.243, allocations: 55.94 kB / 0.747 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.332e-06/1.243, allocations: 3.75 kB / 0.747 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07381/1.317, allocations: 25.25 MB / 0.7716 GB, free: 95.52 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/1.317, allocations: 185.8 kB / 0.7718 GB, free: 95.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006682/1.323, allocations: 5.916 MB / 0.7776 GB, free: 89.53 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005806/1.324, allocations: 73.7 kB / 0.7777 GB, free: 89.45 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.326, allocations: 5.183 MB / 0.7827 GB, free: 84.58 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.327, allocations: 1.344 MB / 0.784 GB, free: 83.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/1.329, allocations: 1.876 MB / 0.7859 GB, free: 81.37 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.329, allocations: 309.1 kB / 0.7862 GB, free: 81.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.333, allocations: 3.294 MB / 0.7894 GB, free: 77.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005461/1.338, allocations: 8.774 MB / 0.7979 GB, free: 66.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.35, allocations: 13.05 MB / 0.8107 GB, free: 50.88 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.35, allocations: 56 kB / 0.8107 GB, free: 50.83 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02059/1.371, allocations: 12.85 MB / 0.8233 GB, free: 37.94 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/1.371, allocations: 88 kB / 0.8234 GB, free: 37.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/1.371, allocations: 192.9 kB / 0.8236 GB, free: 37.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/1.375, allocations: 1.314 MB / 0.8248 GB, free: 36.35 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.381, allocations: 2.16 MB / 0.827 GB, free: 34.18 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009701/1.39, allocations: 7.857 MB / 0.8346 GB, free: 26.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006402/1.397, allocations: 0.4956 MB / 0.8351 GB, free: 25.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009679/1.398, allocations: 0.546 MB / 0.8356 GB, free: 25.16 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004569/1.402, allocations: 3.45 MB / 0.839 GB, free: 21.69 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008416/1.403, allocations: 0.5549 MB / 0.8396 GB, free: 21.13 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009554/1.413, allocations: 5.431 MB / 0.8449 GB, free: 15.64 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/1.413, allocations: 36 kB / 0.8449 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.413, allocations: 8 kB / 0.8449 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/1.413, allocations: 11.95 kB / 0.8449 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.435, allocations: 13.93 MB / 0.8585 GB, free: 1.434 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.435, allocations: 12 kB / 0.8585 GB, free: 1.422 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.437, allocations: 0.4993 MB / 0.859 GB, free: 0.9219 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/1.44, allocations: 0.8091 MB / 0.8598 GB, free: 112 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/1.44, allocations: 70.95 kB / 0.8599 GB, free: 44 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.45, allocations: 5.82 MB / 0.8656 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-05/1.45, allocations: 15.94 kB / 0.8656 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.466, allocations: 8.33 MB / 0.8737 GB, free: 1.457 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.468, allocations: 0.587 MB / 0.8743 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/1.469, allocations: 67.19 kB / 0.8743 GB, free: 0.7852 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.471, allocations: 135.9 kB / 0.8745 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/1.471, allocations: 229.3 kB / 0.8747 GB, free: 440 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.471, allocations: 107.2 kB / 0.8748 GB, free: 336 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005776/1.477, allocations: 3.66 MB / 0.8784 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.477, allocations: 4 kB / 0.8784 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007298/1.484, allocations: 1.601 MB / 0.8799 GB, free: 11.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01695/1.501, allocations: 9.076 MB / 0.8888 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01523/1.517, allocations: 7.852 MB / 0.8965 GB, free: 9.887 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.517, allocations: 0 / 0.8965 GB, free: 9.887 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/1.521, allocations: 2.385 MB / 0.8988 GB, free: 7.484 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.526, allocations: 0.7264 MB / 0.8995 GB, free: 6.773 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1351/1.661, allocations: 73.7 MB / 0.9715 GB, free: 4.098 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2945/1.955, allocations: 5.153 MB / 0.9765 GB, free: 271 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.007769/1.963, allocations: 2.97 MB / 0.9794 GB, free: 271 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005208/1.968, allocations: 3.327 MB / 0.9827 GB, free: 270.6 MB / 0.6857 GB Notification: Performance of SimCode: time 1.653e-06/1.968, allocations: 0 / 0.9827 GB, free: 270.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1545/2.123, allocations: 110.4 MB / 1.091 GB, free: 176.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.46/27.59, allocations: 5.25 kB / 1.091 GB, free: 176.4 MB / 0.6857 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)