Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.59/1.59, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 86.64 kB / 261.8 MB, free: 1.68 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.2024/0.2024, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.423e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 58.87 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5603, allocations: 108.1 MB / 0.5716 GB, free: 3.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5606, allocations: 87.8 kB / 0.5717 GB, free: 3.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2694/0.83, allocations: 104.9 MB / 0.6741 GB, free: 2.547 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8301, allocations: 0 / 0.6741 GB, free: 2.547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003999/0.8305, allocations: 112 kB / 0.6742 GB, free: 2.438 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02152/0.852, allocations: 5.267 MB / 0.6793 GB, free: 13.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.8521, allocations: 12.03 kB / 0.6793 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02908/0.8812, allocations: 6.939 MB / 0.6861 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/0.9005, allocations: 6.883 MB / 0.6928 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.9009, allocations: 176.3 kB / 0.693 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/0.9036, allocations: 327.8 kB / 0.6933 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01574/0.9193, allocations: 7.553 MB / 0.7007 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3434/1.263, allocations: 11.33 MB / 0.7118 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004503/1.263, allocations: 78.14 kB / 0.7118 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001806/1.265, allocations: 35.41 kB / 0.7119 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/1.267, allocations: 1.128 MB / 0.713 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06899/1.336, allocations: 56.04 MB / 0.7677 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/1.341, allocations: 3.502 MB / 0.7711 GB, free: 71.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/1.344, allocations: 2.271 MB / 0.7733 GB, free: 71.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/1.345, allocations: 334.5 kB / 0.7737 GB, free: 71.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/1.345, allocations: 57.09 kB / 0.7737 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=201): time 6.973e-06/1.345, allocations: 2.5 kB / 0.7737 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=228): time 0.03861/1.383, allocations: 19.98 MB / 0.7932 GB, free: 64.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/1.383, allocations: 207.8 kB / 0.7934 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/1.39, allocations: 3.682 MB / 0.797 GB, free: 62.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007225/1.391, allocations: 25.7 kB / 0.797 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.394, allocations: 3.831 MB / 0.8008 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.395, allocations: 0.8366 MB / 0.8016 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/1.396, allocations: 0 / 0.8016 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004044/1.396, allocations: 0.5926 MB / 0.8022 GB, free: 59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/1.399, allocations: 2.18 MB / 0.8043 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.403, allocations: 6.259 MB / 0.8104 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/1.408, allocations: 3.652 MB / 0.814 GB, free: 50.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.661e-05/1.408, allocations: 39.88 kB / 0.814 GB, free: 50.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01508/1.423, allocations: 8.256 MB / 0.8221 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.423, allocations: 71.17 kB / 0.8222 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/1.424, allocations: 150.7 kB / 0.8223 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/1.426, allocations: 0.9512 MB / 0.8232 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/1.432, allocations: 1.576 MB / 0.8248 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/1.44, allocations: 7.247 MB / 0.8318 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006542/1.446, allocations: 236.2 kB / 0.8321 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/1.448, allocations: 419 kB / 0.8325 GB, free: 42.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 830 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001613/1.45, allocations: 485.3 kB / 0.8329 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006301/1.456, allocations: 3.756 MB / 0.8366 GB, free: 41.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009475/1.457, allocations: 407.9 kB / 0.837 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/1.463, allocations: 3.477 MB / 0.8404 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.298e-05/1.463, allocations: 25.91 kB / 0.8404 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.463, allocations: 7.625 kB / 0.8404 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.463, allocations: 13.66 kB / 0.8404 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.48, allocations: 8.557 MB / 0.8488 GB, free: 32.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/1.48, allocations: 7.953 kB / 0.8488 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.482, allocations: 357.8 kB / 0.8491 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/1.484, allocations: 0.6789 MB / 0.8498 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/1.484, allocations: 18.25 kB / 0.8498 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006369/1.491, allocations: 6.194 MB / 0.8559 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.491, allocations: 64 / 0.8559 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007984/1.499, allocations: 6.336 MB / 0.8621 GB, free: 20.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.501, allocations: 0.718 MB / 0.8628 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.501, allocations: 4 kB / 0.8628 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.503, allocations: 87.33 kB / 0.8628 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.503, allocations: 136.9 kB / 0.863 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.503, allocations: 56.86 kB / 0.863 GB, free: 19.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003911/1.507, allocations: 2.494 MB / 0.8655 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.507, allocations: 0 / 0.8655 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007645/1.515, allocations: 1.036 MB / 0.8665 GB, free: 16.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 174 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008868/1.524, allocations: 7.327 MB / 0.8736 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009263/1.533, allocations: 5.482 MB / 0.879 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.533, allocations: 0 / 0.879 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.536, allocations: 1.948 MB / 0.8809 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.54, allocations: 453.8 kB / 0.8813 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/1.573, allocations: 10.87 MB / 0.8919 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006558/1.58, allocations: 4.112 MB / 0.8959 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006445/1.586, allocations: 2.192 MB / 0.8981 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0051/1.591, allocations: 2.449 MB / 0.9005 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/1.592, allocations: 0 / 0.9005 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.516/2.107, allocations: 86.62 MB / 0.9851 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/2.108, allocations: 155.2 kB / 0.9852 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.898/7.006, allocations: 0 / 0.9852 GB, free: 94.65 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat