Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.0008858/0.0008855, allocations: 96.7 kB / 15.7 MB, free: 468 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.00106/0.00106, allocations: 177.1 kB / 16.58 MB, free: 6.062 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.528/1.528, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3439/0.3439, allocations: 43.55 MB / 314.6 MB, free: 8.766 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.0005169/0.000517, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2491/0.3608, allocations: 23.61 MB / 466.5 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.3731, allocations: 5.965 MB / 472.4 MB, free: 34.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004935/0.3781, allocations: 113.4 kB / 472.6 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.3812, allocations: 1.04 MB / 473.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.3912, allocations: 3.312 MB / 476.9 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3927, allocations: 450 kB / 477.4 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.3952, allocations: 1.883 MB / 479.2 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.3982, allocations: 1.964 MB / 481.2 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3993, allocations: 0.5247 MB / 481.7 MB, free: 30.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4008, allocations: 0.7882 MB / 482.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.4011, allocations: 55.53 kB / 482.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.4022, allocations: 461.7 kB / 483 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007215/0.403, allocations: 0.6257 MB / 483.6 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005735/0.4036, allocations: 314.1 kB / 483.9 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.4057, allocations: 1.913 MB / 485.9 MB, free: 29.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4057, allocations: 0 / 485.9 MB, free: 29.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4057, allocations: 0 / 485.9 MB, free: 29.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.705e-05/0.4058, allocations: 0 / 485.9 MB, free: 29.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003734/0.4096, allocations: 1.743 MB / 487.6 MB, free: 28.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4096, allocations: 9.281 kB / 487.6 MB, free: 28.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004721/0.4101, allocations: 243.1 kB / 487.8 MB, free: 28.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.4112, allocations: 285.6 kB / 488.1 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.4136, allocations: 1.485 MB / 489.6 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.4137, allocations: 97.52 kB / 489.7 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4139, allocations: 121.8 kB / 489.8 MB, free: 27.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00558/0.4194, allocations: 2.985 MB / 492.8 MB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.4195, allocations: 18.22 kB / 492.8 MB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4197, allocations: 63.58 kB / 492.9 MB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007239/0.4204, allocations: 439.8 kB / 493.3 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/0.4258, allocations: 2.158 MB / 495.5 MB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.4389, allocations: 10.73 MB / 0.4943 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.4426, allocations: 1.244 MB / 0.4956 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.4433, allocations: 411.3 kB / 0.496 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003929/0.4472, allocations: 2.996 MB / 0.4989 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.4473, allocations: 43.3 kB / 0.4989 GB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/0.4473, allocations: 0 / 0.4989 GB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01116/0.4584, allocations: 3.811 MB / 0.5026 GB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4585, allocations: 91.52 kB / 0.5027 GB, free: 13.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.4606, allocations: 1.203 MB / 0.5039 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.4607, allocations: 31.89 kB / 0.5039 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/0.4612, allocations: 0.9448 MB / 0.5049 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4614, allocations: 217.8 kB / 0.5051 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.4615, allocations: 33.41 kB / 0.5051 GB, free: 11.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.4616, allocations: 373.1 kB / 0.5055 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.4622, allocations: 397.9 kB / 0.5058 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.4632, allocations: 1.236 MB / 0.507 GB, free: 9.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000969/0.4641, allocations: 0.6771 MB / 0.5077 GB, free: 9.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/0.4642, allocations: 7.938 kB / 0.5077 GB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002645/0.4668, allocations: 1.692 MB / 0.5094 GB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.4669, allocations: 18.53 kB / 0.5094 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.952e-05/0.4669, allocations: 30.12 kB / 0.5094 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.4672, allocations: 96.8 kB / 0.5095 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.4682, allocations: 353.1 kB / 0.5098 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.4694, allocations: 1.682 MB / 0.5115 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.4705, allocations: 66.95 kB / 0.5115 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4706, allocations: 92.27 kB / 0.5116 GB, free: 6.715 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009731/0.4716, allocations: 0.6508 MB / 0.5123 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.4718, allocations: 117.3 kB / 0.5124 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4729, allocations: 0.707 MB / 0.5131 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4729, allocations: 5.094 kB / 0.5131 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4729, allocations: 1.781 kB / 0.5131 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4729, allocations: 3.984 kB / 0.5131 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.4767, allocations: 2.239 MB / 0.5153 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4767, allocations: 5.094 kB / 0.5153 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.4771, allocations: 98.36 kB / 0.5154 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.4773, allocations: 67.78 kB / 0.5154 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.4773, allocations: 25.48 kB / 0.5155 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4785, allocations: 1.738 MB / 0.5172 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4785, allocations: 12 kB / 0.5172 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4798, allocations: 1.091 MB / 0.5182 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.4802, allocations: 219.6 kB / 0.5184 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4803, allocations: 22.3 kB / 0.5185 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.4807, allocations: 27.98 kB / 0.5185 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.4808, allocations: 51.91 kB / 0.5185 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4808, allocations: 20 kB / 0.5186 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000869/0.4817, allocations: 0.7641 MB / 0.5193 GB, free: 56 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4817, allocations: 0 / 0.5193 GB, free: 56 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001552/0.4832, allocations: 300.2 kB / 0.5196 GB, free: 15.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001895/0.4851, allocations: 1.67 MB / 0.5212 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.4871, allocations: 1.077 MB / 0.5223 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4871, allocations: 0 / 0.5223 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.4877, allocations: 403.7 kB / 0.5227 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.4887, allocations: 177.5 kB / 0.5228 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.5031, allocations: 8.641 MB / 0.5313 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.5045, allocations: 1.455 MB / 0.5327 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001046/0.5055, allocations: 410.5 kB / 0.5331 GB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.5062, allocations: 0.5852 MB / 0.5336 GB, free: 484 kB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5062, allocations: 0 / 0.5336 GB, free: 484 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.5533, allocations: 22.64 MB / 0.5558 GB, free: 9.898 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.5536, allocations: 204.6 kB / 0.556 GB, free: 9.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.895, allocations: 0 / 0.556 GB, free: 9.656 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat