Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 95.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.93 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.02981/0.1523, allocations: 32.91 MB / 0.5024 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2985/0.4509, allocations: 7.807 MB / 0.51 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007612/0.4585, allocations: 156.7 kB / 0.5101 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006152/0.4647, allocations: 1.598 MB / 0.5117 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4825, allocations: 4.554 MB / 0.5162 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.4854, allocations: 368.1 kB / 0.5165 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.4906, allocations: 1.73 MB / 0.5182 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006032/0.4966, allocations: 3.752 MB / 0.5219 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.4985, allocations: 0.831 MB / 0.5227 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.5004, allocations: 1.11 MB / 0.5238 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005568/0.501, allocations: 130.5 kB / 0.5239 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.5028, allocations: 0.7354 MB / 0.5246 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.5045, allocations: 1.298 MB / 0.5259 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.5057, allocations: 0.7518 MB / 0.5266 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.5135, allocations: 4.789 MB / 0.5313 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5135, allocations: 1.422 kB / 0.5313 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.272e-06/0.5136, allocations: 0 / 0.5313 GB, free: 6.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003732/0.5139, allocations: 3.938 kB / 0.5313 GB, free: 6.113 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01189/0.5258, allocations: 3.637 MB / 0.5348 GB, free: 3.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5259, allocations: 13.61 kB / 0.5348 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002441/0.5283, allocations: 0.6951 MB / 0.5355 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008407/0.5368, allocations: 2.183 MB / 0.5377 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/0.5437, allocations: 1.703 MB / 0.5393 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.544, allocations: 224.8 kB / 0.5395 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.5456, allocations: 296.8 kB / 0.5398 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.5692, allocations: 10.78 MB / 0.5503 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.5694, allocations: 35.59 kB / 0.5504 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004567/0.5699, allocations: 148.3 kB / 0.5505 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003718/0.5736, allocations: 2.046 MB / 0.5525 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/0.5963, allocations: 9.48 MB / 0.5618 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0553/0.6517, allocations: 38.51 MB / 0.5994 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/0.6703, allocations: 6.844 MB / 0.6061 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6815, allocations: 6.475 MB / 0.6124 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.6815, allocations: 59.77 kB / 0.6124 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 4.629e-06/0.6816, allocations: 4 kB / 0.6124 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.08357/0.7651, allocations: 28.23 MB / 0.64 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.7653, allocations: 149.8 kB / 0.6402 GB, free: 392 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005041/0.7703, allocations: 3.363 MB / 0.6434 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006686/0.771, allocations: 57.7 kB / 0.6435 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/0.7731, allocations: 2.802 MB / 0.6462 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.7743, allocations: 0.7991 MB / 0.647 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.7746, allocations: 120 kB / 0.6471 GB, free: 9.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003736/0.775, allocations: 0.5541 MB / 0.6477 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.7789, allocations: 2.42 MB / 0.65 GB, free: 6.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006738/0.7857, allocations: 5.855 MB / 0.6557 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/0.7925, allocations: 3.685 MB / 0.6593 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.724e-05/0.7927, allocations: 36 kB / 0.6594 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02068/0.8134, allocations: 8.862 MB / 0.668 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.8135, allocations: 56 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/0.8137, allocations: 120 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.8167, allocations: 1.058 MB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/0.8222, allocations: 1.4 MB / 0.6706 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.8282, allocations: 5.506 MB / 0.676 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/0.834, allocations: 351.5 kB / 0.6763 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/0.8357, allocations: 365.8 kB / 0.6767 GB, free: 8.984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004723/0.8404, allocations: 1.934 MB / 0.6785 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/0.8412, allocations: 316 kB / 0.6789 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007389/0.8486, allocations: 4.182 MB / 0.6829 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/0.8487, allocations: 24 kB / 0.683 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.8487, allocations: 7.984 kB / 0.683 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.8487, allocations: 7.969 kB / 0.683 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.8666, allocations: 9.295 MB / 0.6921 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.8666, allocations: 4.062 kB / 0.6921 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.8686, allocations: 375.5 kB / 0.6924 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.8712, allocations: 0.8695 MB / 0.6933 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004702/0.8717, allocations: 39.94 kB / 0.6933 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005036/0.8767, allocations: 4.845 MB / 0.698 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.8768, allocations: 0 / 0.698 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.8877, allocations: 7.32 MB / 0.7052 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.8892, allocations: 364.9 kB / 0.7055 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/0.8896, allocations: 33.75 kB / 0.7056 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.8911, allocations: 143.8 kB / 0.7057 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.8915, allocations: 129 kB / 0.7058 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.8917, allocations: 55.98 kB / 0.7059 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003525/0.8952, allocations: 2.061 MB / 0.7079 GB, free: 8.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8952, allocations: 0 / 0.7079 GB, free: 8.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005368/0.9006, allocations: 0.9782 MB / 0.7088 GB, free: 7.605 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2961/1.197, allocations: 8.141 MB / 0.7168 GB, free: 193.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.209, allocations: 6.314 MB / 0.723 GB, free: 193.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.21, allocations: 1.25 kB / 0.723 GB, free: 193.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/1.214, allocations: 2.572 MB / 0.7255 GB, free: 191.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.216, allocations: 301.7 kB / 0.7258 GB, free: 191.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08228/1.298, allocations: 116 MB / 0.8391 GB, free: 87.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/1.302, allocations: 3.101 MB / 0.8421 GB, free: 85.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004461/1.306, allocations: 1.875 MB / 0.8439 GB, free: 84.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.308, allocations: 1.712 MB / 0.8456 GB, free: 83.11 MB / 0.545 GB Notification: Performance of SimCode: time 1.103e-06/1.308, allocations: 0 / 0.8456 GB, free: 83.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.41, allocations: 72.47 MB / 0.9164 GB, free: 11.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.41, allocations: 200.2 kB / 0.9166 GB, free: 11.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.578/4.988, allocations: 3.938 kB / 0.9166 GB, free: 11.08 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat