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/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.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/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, 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.0008921/0.0008921, allocations: 95.19 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.731e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5532, allocations: 109.1 MB / 0.618 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5535, allocations: 74.28 kB / 0.6181 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1705/0.7241, allocations: 72.43 MB / 0.6888 GB, free: 416 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7241, allocations: 0 / 0.6888 GB, free: 416 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.7242, allocations: 79.98 kB / 0.6889 GB, free: 336 kB / 474.7 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.007396/0.7316, allocations: 3.666 MB / 0.6925 GB, free: 12.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7317, allocations: 11.97 kB / 0.6925 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.7327, allocations: 0.7341 MB / 0.6932 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007246/0.74, allocations: 2.065 MB / 0.6952 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.7439, allocations: 2.072 MB / 0.6972 GB, free: 7.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.7441, allocations: 308 kB / 0.6975 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006837/0.7448, allocations: 403.7 kB / 0.6979 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.7664, allocations: 11.04 MB / 0.7087 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.7666, allocations: 55.47 kB / 0.7087 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005714/0.7672, allocations: 191.9 kB / 0.7089 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001446/0.7686, allocations: 1.077 MB / 0.71 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.7884, allocations: 9.375 MB / 0.7191 GB, free: 236 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3129/1.101, allocations: 45.86 MB / 0.7639 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.112, allocations: 4.232 MB / 0.7681 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/1.115, allocations: 2.292 MB / 0.7703 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007961/1.123, allocations: 5.768 MB / 0.7759 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.123, allocations: 56.19 kB / 0.776 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 5.56e-06/1.123, allocations: 0 / 0.776 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=224): time 0.05691/1.18, allocations: 21.86 MB / 0.7973 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.18, allocations: 154 kB / 0.7975 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/1.184, allocations: 2.972 MB / 0.8004 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/1.185, allocations: 58.92 kB / 0.8004 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.186, allocations: 2.805 MB / 0.8032 GB, free: 102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/1.186, allocations: 0.8393 MB / 0.804 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/1.187, allocations: 123.4 kB / 0.8041 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.187, allocations: 0.5595 MB / 0.8046 GB, free: 101 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/1.19, allocations: 2.512 MB / 0.8071 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003835/1.194, allocations: 5.94 MB / 0.8129 GB, free: 94.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/1.198, allocations: 3.84 MB / 0.8167 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-05/1.198, allocations: 33.47 kB / 0.8167 GB, free: 93.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01237/1.21, allocations: 9.096 MB / 0.8256 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/1.21, allocations: 56.41 kB / 0.8256 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.21, allocations: 122.2 kB / 0.8257 GB, free: 90.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.213, allocations: 1.069 MB / 0.8268 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/1.217, allocations: 1.409 MB / 0.8282 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.222, allocations: 5.368 MB / 0.8334 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/1.226, allocations: 327.8 kB / 0.8337 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009585/1.227, allocations: 361.4 kB / 0.8341 GB, free: 86.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 738 * 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.0008719/1.228, allocations: 0.5595 MB / 0.8346 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005422/1.229, allocations: 313.8 kB / 0.8349 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/1.235, allocations: 4.509 MB / 0.8393 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/1.235, allocations: 30.52 kB / 0.8393 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.235, allocations: 8 kB / 0.8393 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.235, allocations: 10.27 kB / 0.8394 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.248, allocations: 9.936 MB / 0.8491 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.248, allocations: 4 kB / 0.8491 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.25, allocations: 382.4 kB / 0.8494 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/1.252, allocations: 0.8764 MB / 0.8503 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.252, allocations: 36.88 kB / 0.8503 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/1.256, allocations: 4.724 MB / 0.8549 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.256, allocations: 0 / 0.8549 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009079/1.265, allocations: 7.864 MB / 0.8626 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.266, allocations: 363.6 kB / 0.863 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.266, allocations: 36 kB / 0.863 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.268, allocations: 123.4 kB / 0.8631 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/1.268, allocations: 129.9 kB / 0.8632 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.268, allocations: 60.62 kB / 0.8633 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002526/1.271, allocations: 2.024 MB / 0.8653 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.271, allocations: 0 / 0.8653 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003856/1.275, allocations: 1.027 MB / 0.8663 GB, free: 59.3 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * 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.008772/1.283, allocations: 8.691 MB / 0.8748 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008328/1.292, allocations: 6.606 MB / 0.8812 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.292, allocations: 0 / 0.8812 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.295, allocations: 2.74 MB / 0.8839 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.297, allocations: 306.8 kB / 0.8842 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.312, allocations: 9.32 MB / 0.8933 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/1.315, allocations: 3.124 MB / 0.8963 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004067/1.319, allocations: 1.944 MB / 0.8982 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/1.321, allocations: 1.722 MB / 0.8999 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/1.321, allocations: 3.938 kB / 0.8999 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3289/1.65, allocations: 75.04 MB / 0.9732 GB, free: 152.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/1.65, allocations: 178.4 kB / 0.9734 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/5.202, allocations: 0 / 0.9734 GB, free: 152.2 MB / 0.5573 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