Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_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.00123/0.00123, allocations: 95.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 179.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 13.03 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0232/0.1504, allocations: 22.31 MB / 493.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1643, allocations: 6.179 MB / 0.4883 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/0.1683, allocations: 103.8 kB / 0.4884 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.1712, allocations: 1.065 MB / 0.4895 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009912/0.1811, allocations: 3.37 MB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.1827, allocations: 439.3 kB / 0.4932 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.1845, allocations: 0.9706 MB / 0.4941 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.1872, allocations: 1.969 MB / 0.496 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.1879, allocations: 442.5 kB / 0.4965 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.1885, allocations: 0.5724 MB / 0.497 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1887, allocations: 60 kB / 0.4971 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.1894, allocations: 431.4 kB / 0.4975 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.1899, allocations: 0.5767 MB / 0.498 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.1902, allocations: 316.8 kB / 0.4983 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1919, allocations: 1.898 MB / 0.5002 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1919, allocations: 0 / 0.5002 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1919, allocations: 0 / 0.5002 GB, free: 4.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.1919, allocations: 0 / 0.5002 GB, free: 4.844 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.003348/0.1953, allocations: 1.736 MB / 0.5019 GB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.064e-05/0.1953, allocations: 8.031 kB / 0.5019 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003712/0.1957, allocations: 241.3 kB / 0.5021 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.197, allocations: 281.5 kB / 0.5024 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.1994, allocations: 1.137 MB / 0.5035 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.1994, allocations: 90.45 kB / 0.5036 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1997, allocations: 132 kB / 0.5037 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3081/0.5077, allocations: 3.03 MB / 0.5067 GB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.5078, allocations: 17.84 kB / 0.5067 GB, free: 49.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.508, allocations: 56.3 kB / 0.5068 GB, free: 49.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007863/0.5088, allocations: 435.5 kB / 0.5072 GB, free: 49.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005616/0.5144, allocations: 2.221 MB / 0.5093 GB, free: 49.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.5304, allocations: 10.8 MB / 0.5199 GB, free: 42.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.5345, allocations: 1.23 MB / 0.5211 GB, free: 41.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003979/0.5385, allocations: 3.039 MB / 0.5241 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5385, allocations: 42.14 kB / 0.5241 GB, free: 39.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.414e-06/0.5386, allocations: 0 / 0.5241 GB, free: 39.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01192/0.5505, allocations: 3.746 MB / 0.5278 GB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.5506, allocations: 89.59 kB / 0.5278 GB, free: 37.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.5523, allocations: 1.302 MB / 0.5291 GB, free: 36.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.5524, allocations: 37.61 kB / 0.5291 GB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.5529, allocations: 0.9396 MB / 0.5301 GB, free: 35.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.553, allocations: 213.7 kB / 0.5303 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.5531, allocations: 27.91 kB / 0.5303 GB, free: 35.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.5532, allocations: 369.6 kB / 0.5306 GB, free: 35.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.5537, allocations: 405.9 kB / 0.531 GB, free: 34.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5548, allocations: 1.234 MB / 0.5322 GB, free: 33.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.5556, allocations: 0.6639 MB / 0.5329 GB, free: 33.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.5556, allocations: 11.56 kB / 0.5329 GB, free: 33.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0024/0.5581, allocations: 1.705 MB / 0.5346 GB, free: 31.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.5581, allocations: 16 kB / 0.5346 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.5581, allocations: 32 kB / 0.5346 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.5584, allocations: 88.83 kB / 0.5347 GB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.5593, allocations: 355.9 kB / 0.535 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.5606, allocations: 1.712 MB / 0.5367 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.5616, allocations: 71.89 kB / 0.5368 GB, free: 29.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.5617, allocations: 84 kB / 0.5369 GB, free: 29.25 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.0008693/0.5625, allocations: 0.64 MB / 0.5375 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5627, allocations: 110.8 kB / 0.5376 GB, free: 28.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009883/0.5637, allocations: 0.7147 MB / 0.5383 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5637, allocations: 4 kB / 0.5383 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5637, allocations: 0 / 0.5383 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5637, allocations: 4 kB / 0.5383 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.5668, allocations: 2.252 MB / 0.5405 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.5668, allocations: 4 kB / 0.5405 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.5671, allocations: 99.83 kB / 0.5406 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.5673, allocations: 62.06 kB / 0.5406 GB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.5673, allocations: 16 kB / 0.5407 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.5685, allocations: 1.767 MB / 0.5424 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.5685, allocations: 11.94 kB / 0.5424 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.5697, allocations: 1.304 MB / 0.5437 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.5699, allocations: 183.7 kB / 0.5439 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.57, allocations: 19.95 kB / 0.5439 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.5704, allocations: 35.98 kB / 0.5439 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.5705, allocations: 43.88 kB / 0.5439 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5705, allocations: 27.89 kB / 0.544 GB, free: 21.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008943/0.5714, allocations: 0.8419 MB / 0.5448 GB, free: 20.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5714, allocations: 0 / 0.5448 GB, free: 20.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00149/0.5729, allocations: 321.5 kB / 0.5451 GB, free: 20.38 MB / 382.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.001856/0.5748, allocations: 2.962 MB / 0.548 GB, free: 17.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.5763, allocations: 1.071 MB / 0.549 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5763, allocations: 4.125 kB / 0.549 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.5768, allocations: 406.5 kB / 0.5494 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.5775, allocations: 174 kB / 0.5496 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.5942, allocations: 25.06 MB / 0.5741 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.5958, allocations: 1.486 MB / 0.5755 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001411/0.5973, allocations: 417.8 kB / 0.5759 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.5981, allocations: 0.5813 MB / 0.5765 GB, free: 3.363 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5981, allocations: 0 / 0.5765 GB, free: 3.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0508/0.6489, allocations: 22.86 MB / 0.5988 GB, free: 12.76 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.6491, allocations: 207.7 kB / 0.599 GB, free: 12.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.212, allocations: 0 / 0.599 GB, free: 12.51 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat