Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.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.Forces.Spring2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 196.7 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008957, allocations: 90.33 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.971e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08736, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4288, allocations: 105.6 MB / 0.6145 GB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.429, allocations: 73.78 kB / 0.6146 GB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2402/0.6692, allocations: 103.5 MB / 0.7156 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6693, allocations: 4 kB / 0.7156 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001675/0.6694, allocations: 92 kB / 0.7157 GB, free: 4.809 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02405/0.6935, allocations: 6.215 MB / 0.7218 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6936, allocations: 11.97 kB / 0.7218 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002648/0.6962, allocations: 0.8968 MB / 0.7227 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.7108, allocations: 3.098 MB / 0.7257 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.7249, allocations: 6.061 MB / 0.7316 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.7252, allocations: 369.6 kB / 0.732 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.7267, allocations: 491.7 kB / 0.7325 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.7469, allocations: 12.46 MB / 0.7446 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.7471, allocations: 75.3 kB / 0.7447 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/0.7477, allocations: 239.9 kB / 0.7449 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001745/0.7495, allocations: 1.249 MB / 0.7461 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2779/1.027, allocations: 10.45 MB / 0.7563 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/1.087, allocations: 57.98 MB / 0.813 GB, free: 88.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.101, allocations: 5.33 MB / 0.8182 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/1.104, allocations: 2.434 MB / 0.8205 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/1.119, allocations: 12.3 MB / 0.8326 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.119, allocations: 65.73 kB / 0.8326 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=219): time 5.39e-06/1.119, allocations: 0 / 0.8326 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.04793/1.167, allocations: 21.13 MB / 0.8533 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002228/1.169, allocations: 4.617 MB / 0.8578 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004855/1.174, allocations: 3.971 MB / 0.8616 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/1.174, allocations: 60.33 kB / 0.8617 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.176, allocations: 3.526 MB / 0.8651 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009844/1.177, allocations: 1.015 MB / 0.8661 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/1.177, allocations: 148.8 kB / 0.8663 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002964/1.177, allocations: 0.6258 MB / 0.8669 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/1.181, allocations: 3.083 MB / 0.8699 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/1.186, allocations: 7.341 MB / 0.8771 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/1.191, allocations: 4.678 MB / 0.8816 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/1.191, allocations: 40 kB / 0.8817 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02122/1.212, allocations: 12.98 MB / 0.8944 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/1.212, allocations: 68 kB / 0.8944 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01191/1.224, allocations: 6.457 MB / 0.9007 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009964/1.234, allocations: 3.347 MB / 0.904 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.24, allocations: 1.731 MB / 0.9057 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/1.255, allocations: 15.82 MB / 0.9211 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007598/1.263, allocations: 0.7722 MB / 0.9219 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/1.265, allocations: 459.9 kB / 0.9223 GB, free: 14.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 886 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002427/1.268, allocations: 0.6572 MB / 0.923 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.269, allocations: 414.7 kB / 0.9234 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.283, allocations: 7.063 MB / 0.9303 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01199/1.295, allocations: 6.391 MB / 0.9365 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/1.296, allocations: 8 kB / 0.9365 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-05/1.296, allocations: 15.95 kB / 0.9365 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03417/1.33, allocations: 15.37 MB / 0.9515 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.33, allocations: 4 kB / 0.9515 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.332, allocations: 447.3 kB / 0.952 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3062/1.638, allocations: 3.328 MB / 0.9552 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005271/1.639, allocations: 82.33 kB / 0.9553 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/1.658, allocations: 16.47 MB / 0.9714 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002256/1.661, allocations: 4.413 MB / 0.9757 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.679, allocations: 11.24 MB / 0.9867 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.681, allocations: 488.8 kB / 0.9871 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/1.682, allocations: 69.86 kB / 0.9872 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.684, allocations: 340.5 kB / 0.9875 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005823/1.685, allocations: 205.5 kB / 0.9877 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.685, allocations: 84.05 kB / 0.9878 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004032/1.689, allocations: 2.74 MB / 0.9905 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/1.689, allocations: 3.969 kB / 0.9905 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006977/1.696, allocations: 1.53 MB / 0.992 GB, free: 114.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01815/1.714, allocations: 13.19 MB / 1.005 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01491/1.729, allocations: 9.186 MB / 1.014 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/1.729, allocations: 0 / 1.014 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007756/1.737, allocations: 4.604 MB / 1.018 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.74, allocations: 0.5051 MB / 1.019 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.762, allocations: 13.22 MB / 1.032 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003651/1.765, allocations: 3.796 MB / 1.035 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005752/1.771, allocations: 2.25 MB / 1.038 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/1.774, allocations: 2.274 MB / 1.04 GB, free: 98.86 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/1.774, allocations: 0 / 1.04 GB, free: 98.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.914, allocations: 106.5 MB / 1.144 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.914, allocations: 176.6 kB / 1.144 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.169/7.083, allocations: 0 / 1.144 GB, free: 7.133 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat