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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007918/0.0007918, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008563/0.0008563, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.3 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 45.92 MB / 344.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02319/0.1627, allocations: 23.59 MB / 0.4934 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1777, allocations: 5.998 MB / 0.4993 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00493/0.1827, allocations: 111.7 kB / 0.4994 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.186, allocations: 1.03 MB / 0.5004 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00951/0.1955, allocations: 3.3 MB / 0.5036 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1973, allocations: 447.3 kB / 0.504 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.1998, allocations: 1.921 MB / 0.5059 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2964/0.4962, allocations: 1.966 MB / 0.5078 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.4975, allocations: 0.5132 MB / 0.5083 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.4989, allocations: 0.7897 MB / 0.5091 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.4991, allocations: 55 kB / 0.5091 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5001, allocations: 425.9 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.501, allocations: 0.619 MB / 0.5101 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.5013, allocations: 313.8 kB / 0.5104 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.504, allocations: 1.893 MB / 0.5123 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.5041, allocations: 0 / 0.5123 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5041, allocations: 1.062 kB / 0.5123 GB, free: 11.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.5041, allocations: 4 kB / 0.5123 GB, free: 11.36 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.003718/0.5078, allocations: 1.722 MB / 0.514 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.5079, allocations: 11.23 kB / 0.514 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004098/0.5083, allocations: 246.8 kB / 0.5142 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.5096, allocations: 283.8 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.5122, allocations: 1.24 MB / 0.5157 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.5123, allocations: 95.05 kB / 0.5158 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.5126, allocations: 126.4 kB / 0.5159 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006155/0.5188, allocations: 3.003 MB / 0.5188 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.5188, allocations: 19 kB / 0.5189 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.519, allocations: 57.2 kB / 0.5189 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007041/0.5197, allocations: 437.4 kB / 0.5193 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.525, allocations: 2.177 MB / 0.5215 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.539, allocations: 10.72 MB / 0.5319 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.5429, allocations: 1.245 MB / 0.5332 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.5436, allocations: 406.8 kB / 0.5335 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/0.5474, allocations: 3.097 MB / 0.5366 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5474, allocations: 38.12 kB / 0.5366 GB, free: 1.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.935e-06/0.5474, allocations: 2.875 kB / 0.5366 GB, free: 1.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01067/0.5581, allocations: 3.801 MB / 0.5403 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5582, allocations: 89.69 kB / 0.5404 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.56, allocations: 1.208 MB / 0.5416 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.5601, allocations: 36.23 kB / 0.5416 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.5607, allocations: 0.9375 MB / 0.5425 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5609, allocations: 213 kB / 0.5427 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.5609, allocations: 29.44 kB / 0.5428 GB, free: 15.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5611, allocations: 377.7 kB / 0.5431 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.5617, allocations: 409.7 kB / 0.5435 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.563, allocations: 1.242 MB / 0.5447 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.5639, allocations: 0.6776 MB / 0.5454 GB, free: 13.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.5639, allocations: 8.656 kB / 0.5454 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002604/0.5665, allocations: 1.712 MB / 0.5471 GB, free: 13.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.5666, allocations: 15.53 kB / 0.5471 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.5666, allocations: 30.22 kB / 0.5471 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.5669, allocations: 93.59 kB / 0.5472 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5679, allocations: 354.5 kB / 0.5475 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.5695, allocations: 1.693 MB / 0.5492 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.5706, allocations: 74.36 kB / 0.5493 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5707, allocations: 81.5 kB / 0.5493 GB, free: 11.35 MB / 398.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.00119/0.5719, allocations: 0.645 MB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.5721, allocations: 122.5 kB / 0.5501 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.5723, allocations: 135.6 kB / 0.5502 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5724, allocations: 11.84 kB / 0.5502 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.5724, allocations: 4 kB / 0.5502 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.5724, allocations: 3.984 kB / 0.5502 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.5759, allocations: 2.256 MB / 0.5524 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5759, allocations: 4 kB / 0.5524 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.5763, allocations: 101.5 kB / 0.5525 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.5765, allocations: 64.94 kB / 0.5526 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.5766, allocations: 19.64 kB / 0.5526 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.5781, allocations: 1.736 MB / 0.5543 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.5781, allocations: 9.672 kB / 0.5543 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5796, allocations: 1.116 MB / 0.5554 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.5799, allocations: 191.3 kB / 0.5556 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.58, allocations: 13.98 kB / 0.5556 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.5804, allocations: 33.5 kB / 0.5556 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.5805, allocations: 46.3 kB / 0.5557 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.5805, allocations: 19.88 kB / 0.5557 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.5816, allocations: 0.7562 MB / 0.5564 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5816, allocations: 0 / 0.5564 GB, free: 5.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001809/0.5835, allocations: 301.8 kB / 0.5567 GB, free: 5.07 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.002428/0.5859, allocations: 1.672 MB / 0.5584 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.5886, allocations: 1.102 MB / 0.5594 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.5886, allocations: 0 / 0.5594 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.5894, allocations: 415.1 kB / 0.5598 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.5912, allocations: 174.8 kB / 0.56 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.6076, allocations: 8.606 MB / 0.5684 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.609, allocations: 1.462 MB / 0.5698 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.6102, allocations: 411.3 kB / 0.5702 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.6109, allocations: 0.5774 MB / 0.5708 GB, free: 6.039 MB / 414.1 MB Notification: Performance of SimCode: time 2.214e-06/0.6109, allocations: 0 / 0.5708 GB, free: 6.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.6565, allocations: 22.45 MB / 0.5927 GB, free: 15.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.6568, allocations: 204.6 kB / 0.5929 GB, free: 15.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/3.299, allocations: 0 / 0.5929 GB, free: 15.62 MB / 446.1 MB (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