Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008586/0.0008585, allocations: 93.84 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.398/0.398, allocations: 43.46 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.404e-05, allocations: 4 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 58.84 MB / 484.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.5421, allocations: 102.9 MB / 0.5734 GB, free: 2.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5425, allocations: 71.97 kB / 0.5735 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6153/1.158, allocations: 98.7 MB / 0.6699 GB, free: 85.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.326e-06/1.158, allocations: 1.172 kB / 0.6699 GB, free: 85.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004118/1.158, allocations: 94.84 kB / 0.67 GB, free: 85.34 MB / 490.7 MB 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.03312/1.191, allocations: 5.928 MB / 0.6757 GB, free: 84.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001061/1.191, allocations: 8.469 kB / 0.6757 GB, free: 84.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00595/1.197, allocations: 0.8979 MB / 0.6766 GB, free: 84.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.214, allocations: 2.94 MB / 0.6795 GB, free: 84.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02177/1.236, allocations: 7.242 MB / 0.6866 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/1.237, allocations: 370.5 kB / 0.6869 GB, free: 83.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/1.24, allocations: 495 kB / 0.6874 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03305/1.273, allocations: 12.46 MB / 0.6996 GB, free: 80.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005731/1.274, allocations: 75.25 kB / 0.6996 GB, free: 80.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/1.278, allocations: 241.2 kB / 0.6999 GB, free: 80.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002704/1.28, allocations: 1.231 MB / 0.7011 GB, free: 80.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03214/1.313, allocations: 10.47 MB / 0.7113 GB, free: 80.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07897/1.392, allocations: 58.05 MB / 0.768 GB, free: 39.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/1.407, allocations: 5.329 MB / 0.7732 GB, free: 37.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/1.411, allocations: 2.445 MB / 0.7756 GB, free: 36.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.436, allocations: 12.34 MB / 0.7876 GB, free: 29.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.659e-05/1.436, allocations: 55.75 kB / 0.7877 GB, free: 29.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=219): time 7.404e-06/1.436, allocations: 4 kB / 0.7877 GB, free: 29.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=258): time 0.06126/1.497, allocations: 21.29 MB / 0.8085 GB, free: 20.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002879/1.5, allocations: 4.614 MB / 0.813 GB, free: 15.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008878/1.509, allocations: 4.01 MB / 0.8169 GB, free: 11.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009016/1.51, allocations: 64.52 kB / 0.8169 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.513, allocations: 3.535 MB / 0.8204 GB, free: 8.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.515, allocations: 1.018 MB / 0.8214 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/1.516, allocations: 144 kB / 0.8215 GB, free: 7.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008814/1.517, allocations: 0.6255 MB / 0.8221 GB, free: 6.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/1.523, allocations: 3.087 MB / 0.8252 GB, free: 4.129 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009177/1.532, allocations: 7.336 MB / 0.8323 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.543, allocations: 4.682 MB / 0.8369 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002273/1.543, allocations: 44 kB / 0.8369 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.0366/1.58, allocations: 13.05 MB / 0.8497 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002408/1.58, allocations: 72 kB / 0.8498 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01718/1.597, allocations: 6.459 MB / 0.8561 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/1.609, allocations: 3.344 MB / 0.8593 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006607/1.616, allocations: 1.731 MB / 0.861 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3498/1.966, allocations: 15.82 MB / 0.8765 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009232/1.975, allocations: 0.7613 MB / 0.8772 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.977, allocations: 455.7 kB / 0.8776 GB, free: 96.82 MB / 0.5105 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.001342/1.978, allocations: 0.6671 MB / 0.8783 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/1.979, allocations: 422.2 kB / 0.8787 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.993, allocations: 7.06 MB / 0.8856 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01319/2.006, allocations: 6.389 MB / 0.8918 GB, free: 96.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/2.006, allocations: 6.625 kB / 0.8918 GB, free: 96.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.533e-05/2.006, allocations: 19.5 kB / 0.8919 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03682/2.043, allocations: 15.37 MB / 0.9069 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/2.043, allocations: 14.45 kB / 0.9069 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/2.046, allocations: 445.6 kB / 0.9073 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/2.056, allocations: 3.337 MB / 0.9106 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007394/2.057, allocations: 82.44 kB / 0.9106 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/2.075, allocations: 16.47 MB / 0.9267 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002521/2.078, allocations: 4.421 MB / 0.931 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/2.099, allocations: 11.24 MB / 0.942 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/2.101, allocations: 0.4946 MB / 0.9425 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/2.102, allocations: 64.72 kB / 0.9426 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00403/2.107, allocations: 342.6 kB / 0.9429 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.108, allocations: 199.6 kB / 0.9431 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005334/2.108, allocations: 89.41 kB / 0.9432 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006591/2.115, allocations: 2.766 MB / 0.9459 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.115, allocations: 0.6562 kB / 0.9459 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/2.126, allocations: 1.527 MB / 0.9474 GB, free: 75.63 MB / 0.5105 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.02262/2.148, allocations: 13.2 MB / 0.9602 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01848/2.167, allocations: 9.17 MB / 0.9692 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.167, allocations: 0 / 0.9692 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009192/2.176, allocations: 4.601 MB / 0.9737 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/2.181, allocations: 0.5197 MB / 0.9742 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/2.217, allocations: 13.23 MB / 0.9871 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006831/2.223, allocations: 3.814 MB / 0.9909 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007234/2.231, allocations: 2.258 MB / 0.9931 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/2.236, allocations: 2.282 MB / 0.9953 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.724e-06/2.236, allocations: 0 / 0.9953 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.542/2.778, allocations: 106.8 MB / 1.1 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/2.778, allocations: 172.5 kB / 1.1 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.049/8.827, allocations: 4 kB / 1.1 GB, free: 107.3 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat