Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 178.7 kB / 14.15 MB, free: 1.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.000997, allocations: 98.7 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-05/4.842e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6524, allocations: 106.8 MB / 0.6061 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6527, allocations: 79.95 kB / 0.6062 GB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2397/0.8924, allocations: 91.13 MB / 0.6952 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8925, allocations: 0 / 0.6952 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001744/0.8927, allocations: 76 kB / 0.6953 GB, free: 2.387 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01374/0.9064, allocations: 3.906 MB / 0.6991 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.9065, allocations: 8.031 kB / 0.6991 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003625/0.9101, allocations: 0.8204 MB / 0.6999 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.9264, allocations: 3.535 MB / 0.7034 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.9396, allocations: 4.26 MB / 0.7075 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/0.9401, allocations: 316.3 kB / 0.7078 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/0.9427, allocations: 419.8 kB / 0.7082 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3772/1.32, allocations: 10.66 MB / 0.7186 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/1.32, allocations: 27.78 kB / 0.7187 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.321, allocations: 190.4 kB / 0.7188 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/1.324, allocations: 1.222 MB / 0.72 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/1.346, allocations: 10.24 MB / 0.73 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/1.401, allocations: 36.99 MB / 0.7662 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/1.409, allocations: 4.557 MB / 0.7706 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/1.412, allocations: 2.385 MB / 0.7729 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/1.413, allocations: 1.317 MB / 0.7742 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.413, allocations: 51.44 kB / 0.7743 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 4.619e-06/1.413, allocations: 0 / 0.7743 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.03066/1.444, allocations: 14.51 MB / 0.7884 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.444, allocations: 74.12 kB / 0.7885 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.448, allocations: 2.412 MB / 0.7909 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007087/1.449, allocations: 58.08 kB / 0.7909 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.451, allocations: 2.779 MB / 0.7936 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.452, allocations: 0.9199 MB / 0.7945 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.452, allocations: 106.9 kB / 0.7946 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002715/1.452, allocations: 0.535 MB / 0.7952 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.455, allocations: 2.24 MB / 0.7973 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/1.46, allocations: 5.125 MB / 0.8024 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/1.465, allocations: 3.43 MB / 0.8057 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-05/1.465, allocations: 30.06 kB / 0.8057 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01422/1.479, allocations: 8.146 MB / 0.8137 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/1.479, allocations: 50.91 kB / 0.8137 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/1.479, allocations: 100 kB / 0.8138 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/1.482, allocations: 0.9397 MB / 0.8147 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/1.486, allocations: 1.218 MB / 0.8159 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/1.492, allocations: 4.736 MB / 0.8206 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.496, allocations: 294.8 kB / 0.8208 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/1.496, allocations: 312.1 kB / 0.8211 GB, free: 73.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008316/1.497, allocations: 0.4912 MB / 0.8216 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/1.498, allocations: 276.4 kB / 0.8219 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007612/1.505, allocations: 5.072 MB / 0.8268 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/1.505, allocations: 44.7 kB / 0.8269 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.505, allocations: 0 / 0.8269 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.505, allocations: 14.12 kB / 0.8269 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/1.524, allocations: 11.86 MB / 0.8385 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.524, allocations: 12 kB / 0.8385 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.525, allocations: 397.1 kB / 0.8389 GB, free: 58.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/1.527, allocations: 0.7759 MB / 0.8396 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/1.528, allocations: 61.03 kB / 0.8397 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/1.532, allocations: 4.013 MB / 0.8436 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.532, allocations: 15.94 kB / 0.8436 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.543, allocations: 8.377 MB / 0.8518 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.544, allocations: 332.7 kB / 0.8521 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.544, allocations: 43.61 kB / 0.8522 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.546, allocations: 140.9 kB / 0.8523 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.546, allocations: 155.3 kB / 0.8524 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.546, allocations: 71.69 kB / 0.8525 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002367/1.549, allocations: 1.654 MB / 0.8541 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/1.549, allocations: 0 / 0.8541 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005046/1.554, allocations: 0.9911 MB / 0.8551 GB, free: 43.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/1.565, allocations: 11.58 MB / 0.8664 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008345/1.573, allocations: 5.503 MB / 0.8718 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.574, allocations: 3.656 kB / 0.8718 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002721/1.576, allocations: 2.131 MB / 0.8739 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/1.578, allocations: 352.7 kB / 0.8742 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/1.6, allocations: 9.929 MB / 0.8839 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/1.604, allocations: 3.468 MB / 0.8873 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004673/1.609, allocations: 1.986 MB / 0.8892 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/1.612, allocations: 1.823 MB / 0.891 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/1.612, allocations: 0 / 0.891 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4434/2.055, allocations: 69.6 MB / 0.959 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/2.055, allocations: 167.4 kB / 0.9591 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.094/6.149, allocations: 3.844 kB / 0.9591 GB, free: 127.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat