Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 96.44 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 175.9 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3849/0.3849, allocations: 43.55 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005077, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2979/0.4386, allocations: 56.71 MB / 499.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03279/0.4714, allocations: 13.02 MB / 0.5006 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01664/0.4881, allocations: 281.8 kB / 0.5008 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.4999, allocations: 2.819 MB / 0.5036 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04556/0.5455, allocations: 8.087 MB / 0.5115 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.5518, allocations: 0.6334 MB / 0.5121 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009251/0.5611, allocations: 2.503 MB / 0.5146 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01743/0.5786, allocations: 5.968 MB / 0.5204 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004164/0.5828, allocations: 1.207 MB / 0.5216 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.5876, allocations: 1.609 MB / 0.5231 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001821/0.5894, allocations: 175.9 kB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.5929, allocations: 0.7892 MB / 0.5241 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.5967, allocations: 1.838 MB / 0.5259 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.5993, allocations: 1.007 MB / 0.5268 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.6093, allocations: 6.646 MB / 0.5333 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6093, allocations: 0 / 0.5333 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6094, allocations: 0 / 0.5333 GB, free: 3.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003864/0.6097, allocations: 0 / 0.5333 GB, free: 3.367 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02155/0.6313, allocations: 5.566 MB / 0.5388 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.6314, allocations: 8.031 kB / 0.5388 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003556/0.6349, allocations: 0.8842 MB / 0.5396 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009569/0.6445, allocations: 2.333 MB / 0.5419 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/0.6533, allocations: 2.935 MB / 0.5448 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/0.6537, allocations: 303.9 kB / 0.5451 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/0.6564, allocations: 415.7 kB / 0.5455 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03373/0.6902, allocations: 12.99 MB / 0.5582 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.6904, allocations: 43.59 kB / 0.5582 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009368/0.6914, allocations: 195.8 kB / 0.5584 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004907/0.6963, allocations: 2.374 MB / 0.5607 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/0.7257, allocations: 11.93 MB / 0.5724 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07773/0.8035, allocations: 48.14 MB / 0.6194 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/0.823, allocations: 5.833 MB / 0.6251 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.8243, allocations: 0.7026 MB / 0.6257 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/0.8244, allocations: 59.81 kB / 0.6258 GB, free: 2.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 4.969e-06/0.8244, allocations: 0 / 0.6258 GB, free: 2.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.4386/1.263, allocations: 29.25 MB / 0.6544 GB, free: 88.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/1.263, allocations: 154.6 kB / 0.6545 GB, free: 88.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009477/1.273, allocations: 4.632 MB / 0.659 GB, free: 88.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.274, allocations: 59.7 kB / 0.6591 GB, free: 88.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003337/1.277, allocations: 3.552 MB / 0.6626 GB, free: 86.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002285/1.28, allocations: 0.9511 MB / 0.6635 GB, free: 85.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/1.28, allocations: 140.2 kB / 0.6636 GB, free: 85.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004997/1.281, allocations: 0.5941 MB / 0.6642 GB, free: 85.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/1.287, allocations: 3.42 MB / 0.6675 GB, free: 85.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007594/1.294, allocations: 7.333 MB / 0.6747 GB, free: 80.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007414/1.302, allocations: 4.887 MB / 0.6795 GB, free: 80.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.793e-05/1.302, allocations: 38.34 kB / 0.6795 GB, free: 80.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.02378/1.326, allocations: 11.72 MB / 0.691 GB, free: 74.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.326, allocations: 64 kB / 0.691 GB, free: 74.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.326, allocations: 144.1 kB / 0.6912 GB, free: 74.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/1.329, allocations: 1.139 MB / 0.6923 GB, free: 73.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006876/1.336, allocations: 1.778 MB / 0.694 GB, free: 71.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/1.343, allocations: 6.122 MB / 0.7 GB, free: 67.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008209/1.351, allocations: 419.7 kB / 0.7004 GB, free: 66.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.353, allocations: 458.8 kB / 0.7008 GB, free: 66.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005219/1.358, allocations: 2.423 MB / 0.7032 GB, free: 64.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.359, allocations: 417.5 kB / 0.7036 GB, free: 64.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.37, allocations: 6.573 MB / 0.71 GB, free: 59.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-05/1.37, allocations: 31.95 kB / 0.71 GB, free: 59.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.37, allocations: 4 kB / 0.71 GB, free: 59.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.37, allocations: 15.95 kB / 0.7101 GB, free: 59.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.393, allocations: 13.71 MB / 0.7234 GB, free: 47.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.393, allocations: 4 kB / 0.7235 GB, free: 47.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/1.396, allocations: 0.6039 MB / 0.724 GB, free: 46.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/1.399, allocations: 0.9413 MB / 0.725 GB, free: 45.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/1.399, allocations: 91.89 kB / 0.725 GB, free: 45.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/1.406, allocations: 5.844 MB / 0.7308 GB, free: 39.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.406, allocations: 5.969 kB / 0.7308 GB, free: 39.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.421, allocations: 11.5 MB / 0.742 GB, free: 27.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/1.424, allocations: 0.964 MB / 0.7429 GB, free: 26.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008461/1.425, allocations: 44 kB / 0.743 GB, free: 26.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.427, allocations: 195 kB / 0.7432 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/1.428, allocations: 191.9 kB / 0.7433 GB, free: 26.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.428, allocations: 115.9 kB / 0.7435 GB, free: 26.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003955/1.432, allocations: 2.917 MB / 0.7463 GB, free: 23.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.432, allocations: 4 kB / 0.7463 GB, free: 23.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007447/1.439, allocations: 1.283 MB / 0.7476 GB, free: 22.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * 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 (230): * Single equations (assignments): 226 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01504/1.454, allocations: 12.99 MB / 0.7602 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01255/1.467, allocations: 8.08 MB / 0.7681 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.467, allocations: 0 / 0.7681 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004763/1.472, allocations: 3.197 MB / 0.7713 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.476, allocations: 464.7 kB / 0.7717 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3707/1.846, allocations: 143 MB / 0.9113 GB, free: 125.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007469/1.854, allocations: 3.911 MB / 0.9151 GB, free: 123.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009111/1.863, allocations: 2.374 MB / 0.9174 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005724/1.869, allocations: 2.454 MB / 0.9198 GB, free: 121.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.869, allocations: 0 / 0.9198 GB, free: 121.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/2.037, allocations: 103.6 MB / 1.021 GB, free: 36.11 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/2.037, allocations: 207 kB / 1.021 GB, free: 35.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.054/7.091, allocations: 8 kB / 1.021 GB, free: 35.86 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat