Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009387/0.0009388, allocations: 102.4 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009507/0.0009508, allocations: 197.5 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 63.46 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.03457/0.1658, allocations: 36.64 MB / 0.506 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3095/0.4754, allocations: 9.139 MB / 0.5149 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0112/0.4866, allocations: 182.6 kB / 0.5151 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008135/0.4948, allocations: 1.785 MB / 0.5169 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02258/0.5174, allocations: 5.334 MB / 0.5221 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.5208, allocations: 0.655 MB / 0.5227 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006256/0.527, allocations: 2.582 MB / 0.5252 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006677/0.5337, allocations: 4.116 MB / 0.5292 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.5363, allocations: 1.062 MB / 0.5303 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.5387, allocations: 1.516 MB / 0.5318 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005088/0.5392, allocations: 153.7 kB / 0.5319 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.5408, allocations: 0.6884 MB / 0.5326 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.5425, allocations: 1.598 MB / 0.5341 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.5437, allocations: 0.8339 MB / 0.535 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.5495, allocations: 5.216 MB / 0.54 GB, free: 2.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5495, allocations: 0 / 0.54 GB, free: 2.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.5495, allocations: 0 / 0.54 GB, free: 2.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002514/0.5498, allocations: 0 / 0.54 GB, free: 2.645 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.008289/0.5581, allocations: 4.026 MB / 0.544 GB, free: 180 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5581, allocations: 7.188 kB / 0.544 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001957/0.5601, allocations: 0.7406 MB / 0.5447 GB, free: 0 / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009009/0.5691, allocations: 2.299 MB / 0.547 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/0.5762, allocations: 2.491 MB / 0.5494 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.5765, allocations: 253.4 kB / 0.5496 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.5786, allocations: 323.3 kB / 0.5499 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.6, allocations: 10.33 MB / 0.56 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.6001, allocations: 53 kB / 0.5601 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005318/0.6007, allocations: 164.9 kB / 0.5602 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.6036, allocations: 1.907 MB / 0.5621 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.6202, allocations: 8.278 MB / 0.5702 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04936/0.6697, allocations: 39.53 MB / 0.6088 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008415/0.6781, allocations: 3.324 MB / 0.612 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009611/0.6878, allocations: 6.062 MB / 0.6179 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.6878, allocations: 47.56 kB / 0.618 GB, free: 6.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.588e-06/0.6878, allocations: 4 kB / 0.618 GB, free: 6.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02436/0.7122, allocations: 9.824 MB / 0.6276 GB, free: 12.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.7124, allocations: 147.2 kB / 0.6277 GB, free: 12.81 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/0.7192, allocations: 4.254 MB / 0.6319 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.7196, allocations: 54.8 kB / 0.6319 GB, free: 8.477 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/0.7225, allocations: 3.18 MB / 0.635 GB, free: 5.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009073/0.7234, allocations: 0.6337 MB / 0.6357 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/0.7239, allocations: 121.4 kB / 0.6358 GB, free: 4.566 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003953/0.7243, allocations: 0.5622 MB / 0.6363 GB, free: 3.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/0.7272, allocations: 1.624 MB / 0.6379 GB, free: 2.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/0.7334, allocations: 5.458 MB / 0.6432 GB, free: 10.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.7382, allocations: 2.918 MB / 0.6461 GB, free: 8.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.352e-05/0.7383, allocations: 40 kB / 0.6461 GB, free: 8.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01361/0.7519, allocations: 6.838 MB / 0.6528 GB, free: 1.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.255e-05/0.752, allocations: 65.19 kB / 0.6529 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.7522, allocations: 140 kB / 0.653 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.7524, allocations: 207.9 kB / 0.6532 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/0.758, allocations: 1.427 MB / 0.6546 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/0.7585, allocations: 267 kB / 0.6549 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005808/0.7643, allocations: 303.6 kB / 0.6551 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/0.7659, allocations: 376 kB / 0.6555 GB, free: 14.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005312/0.7712, allocations: 2.033 MB / 0.6575 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008407/0.7721, allocations: 355.4 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.773, allocations: 418.7 kB / 0.6582 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.773, allocations: 24 kB / 0.6582 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.773, allocations: 0 / 0.6582 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.7731, allocations: 7.969 kB / 0.6583 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.784, allocations: 5.866 MB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.784, allocations: 16 kB / 0.664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7851, allocations: 287.5 kB / 0.6643 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/0.7851, allocations: 28 kB / 0.6643 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.7852, allocations: 44 kB / 0.6643 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.242e-05/0.7853, allocations: 39.86 kB / 0.6644 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.7853, allocations: 25.08 kB / 0.6644 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.7904, allocations: 5.328 MB / 0.6696 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.7917, allocations: 432.4 kB / 0.67 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.7921, allocations: 47.98 kB / 0.6701 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.7933, allocations: 75.89 kB / 0.6701 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.7935, allocations: 151.4 kB / 0.6703 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.7936, allocations: 64 kB / 0.6703 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004649/0.7982, allocations: 2.672 MB / 0.673 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7983, allocations: 0 / 0.673 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00594/0.8042, allocations: 0.913 MB / 0.6738 GB, free: 10.49 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008214/0.8125, allocations: 10.18 MB / 0.6838 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006782/0.8193, allocations: 3.746 MB / 0.6874 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/0.8193, allocations: 4 kB / 0.6874 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.8206, allocations: 0.7565 MB / 0.6882 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.8233, allocations: 444.9 kB / 0.6886 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2918/1.115, allocations: 114 MB / 0.8 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/1.12, allocations: 3.259 MB / 0.8032 GB, free: 101.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005834/1.126, allocations: 1.816 MB / 0.8049 GB, free: 101.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002854/1.129, allocations: 1.877 MB / 0.8068 GB, free: 101.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.129, allocations: 0 / 0.8068 GB, free: 101.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.234, allocations: 67.35 MB / 0.8725 GB, free: 50.94 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/1.234, allocations: 170.5 kB / 0.8727 GB, free: 50.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/5.21, allocations: 3.938 kB / 0.8727 GB, free: 50.7 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat