Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000879/0.0008791, allocations: 98.23 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.545e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 63.26 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5411, allocations: 106.6 MB / 0.6086 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5414, allocations: 78.14 kB / 0.6086 GB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0926/0.634, allocations: 35.15 MB / 0.643 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6341, allocations: 0 / 0.643 GB, free: 13.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.872e-05/0.6341, allocations: 32 kB / 0.643 GB, free: 13.77 MB / 442.7 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.002883/0.637, allocations: 1.692 MB / 0.6447 GB, free: 12.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6371, allocations: 8.031 kB / 0.6447 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.6389, allocations: 414.1 kB / 0.6451 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/0.644, allocations: 2.284 MB / 0.6473 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.6441, allocations: 48 kB / 0.6473 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.6443, allocations: 84 kB / 0.6474 GB, free: 9.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00243/0.6467, allocations: 1.793 MB / 0.6492 GB, free: 8.469 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.6497, allocations: 2.524 MB / 0.6516 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.6498, allocations: 19.78 kB / 0.6516 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6499, allocations: 4 kB / 0.6517 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004617/0.6504, allocations: 290 kB / 0.6519 GB, free: 6.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.6626, allocations: 11.98 MB / 0.6636 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.6633, allocations: 0.5225 MB / 0.6641 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.6638, allocations: 332.1 kB / 0.6645 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.6644, allocations: 0.6553 MB / 0.6651 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.6644, allocations: 42.95 kB / 0.6651 GB, free: 9.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.6644, allocations: 0 / 0.6651 GB, free: 9.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.007905/0.6723, allocations: 3.026 MB / 0.6681 GB, free: 6.691 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.6724, allocations: 107.4 kB / 0.6682 GB, free: 6.559 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.6738, allocations: 0.9304 MB / 0.6691 GB, free: 5.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.6738, allocations: 25.7 kB / 0.6691 GB, free: 5.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/0.6745, allocations: 0.9355 MB / 0.67 GB, free: 4.629 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.6747, allocations: 216.9 kB / 0.6702 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.6747, allocations: 8.031 kB / 0.6703 GB, free: 4.406 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.675, allocations: 422.7 kB / 0.6707 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.6755, allocations: 359.9 kB / 0.671 GB, free: 3.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.6766, allocations: 1.197 MB / 0.6722 GB, free: 2.016 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.6775, allocations: 0.629 MB / 0.6728 GB, free: 1.387 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.6775, allocations: 8 kB / 0.6728 GB, free: 1.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002484/0.68, allocations: 1.466 MB / 0.6742 GB, free: 15.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.68, allocations: 19.98 kB / 0.6742 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.6801, allocations: 32.09 kB / 0.6743 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.6803, allocations: 88.83 kB / 0.6744 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.6815, allocations: 359.3 kB / 0.6747 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.683, allocations: 1.63 MB / 0.6763 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.684, allocations: 35.98 kB / 0.6763 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6841, allocations: 91.94 kB / 0.6764 GB, free: 13.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * 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.0002409/0.6844, allocations: 203.4 kB / 0.6766 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009409/0.6853, allocations: 0.6039 MB / 0.6772 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6855, allocations: 110.6 kB / 0.6773 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.6866, allocations: 0.6635 MB / 0.678 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6866, allocations: 8 kB / 0.678 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6866, allocations: 7.891 kB / 0.678 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6866, allocations: 7.984 kB / 0.678 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.6897, allocations: 1.943 MB / 0.6799 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.6897, allocations: 8.094 kB / 0.6799 GB, free: 9.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.6901, allocations: 103.8 kB / 0.68 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.6904, allocations: 60.83 kB / 0.68 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.6904, allocations: 8 kB / 0.68 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.6919, allocations: 1.67 MB / 0.6817 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.6919, allocations: 11.89 kB / 0.6817 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.6933, allocations: 1.256 MB / 0.6829 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.6936, allocations: 183.7 kB / 0.6831 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/0.6937, allocations: 7.938 kB / 0.6831 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.6941, allocations: 24.03 kB / 0.6831 GB, free: 6.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.6942, allocations: 43.91 kB / 0.6832 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.6942, allocations: 20 kB / 0.6832 GB, free: 6.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009851/0.6952, allocations: 0.6484 MB / 0.6838 GB, free: 5.512 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6952, allocations: 0 / 0.6838 GB, free: 5.512 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001522/0.6967, allocations: 272 kB / 0.6841 GB, free: 5.246 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.002194/0.6989, allocations: 2.959 MB / 0.687 GB, free: 2.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.7007, allocations: 0.9748 MB / 0.6879 GB, free: 1.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7007, allocations: 0 / 0.6879 GB, free: 1.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.7012, allocations: 377.3 kB / 0.6883 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.7021, allocations: 143 kB / 0.6884 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.7071, allocations: 2.521 MB / 0.6909 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.7084, allocations: 1.485 MB / 0.6923 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.7094, allocations: 401.3 kB / 0.6927 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.7101, allocations: 0.5579 MB / 0.6933 GB, free: 11.55 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7101, allocations: 0 / 0.6933 GB, free: 11.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.7594, allocations: 20.69 MB / 0.7135 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.7596, allocations: 133.8 kB / 0.7136 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.191, allocations: 0 / 0.7136 GB, free: 6.762 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat