Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.001577/0.001577, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001122/0.001121, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2928/0.2928, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.688e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 58.87 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6383, allocations: 106.3 MB / 0.5767 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6386, allocations: 81.42 kB / 0.5768 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3134/0.952, allocations: 71.25 MB / 0.6464 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.9521, allocations: 0 / 0.6464 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002725/0.9524, allocations: 75.98 kB / 0.6464 GB, free: 13.94 MB / 458.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.01521/0.9676, allocations: 3.616 MB / 0.65 GB, free: 10.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.9677, allocations: 8.031 kB / 0.65 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003378/0.9711, allocations: 0.7419 MB / 0.6507 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.9867, allocations: 2.073 MB / 0.6527 GB, free: 7.418 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/0.9946, allocations: 2.08 MB / 0.6548 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005222/0.9952, allocations: 307.9 kB / 0.6551 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.9976, allocations: 403.8 kB / 0.6554 GB, free: 4.586 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03934/1.037, allocations: 11.05 MB / 0.6662 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002515/1.037, allocations: 47.56 kB / 0.6663 GB, free: 8.547 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001619/1.039, allocations: 199.9 kB / 0.6665 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/1.042, allocations: 1.069 MB / 0.6675 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/1.075, allocations: 9.375 MB / 0.6767 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5439/1.619, allocations: 45.86 MB / 0.7215 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/1.638, allocations: 4.244 MB / 0.7256 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00514/1.644, allocations: 2.293 MB / 0.7278 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/1.658, allocations: 5.764 MB / 0.7335 GB, free: 97.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/1.658, allocations: 50.97 kB / 0.7335 GB, free: 97.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 5.78e-06/1.658, allocations: 0 / 0.7335 GB, free: 97.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.1054/1.763, allocations: 21.86 MB / 0.7549 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.764, allocations: 157 kB / 0.755 GB, free: 94.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006729/1.77, allocations: 2.981 MB / 0.7579 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006305/1.771, allocations: 55.39 kB / 0.758 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.773, allocations: 2.776 MB / 0.7607 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.775, allocations: 0.8414 MB / 0.7615 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007982/1.775, allocations: 121.8 kB / 0.7616 GB, free: 92.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004311/1.776, allocations: 0.5604 MB / 0.7622 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006176/1.782, allocations: 2.514 MB / 0.7646 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008369/1.79, allocations: 5.939 MB / 0.7704 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008603/1.799, allocations: 3.841 MB / 0.7742 GB, free: 84.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.799, allocations: 40.09 kB / 0.7742 GB, free: 84.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02492/1.824, allocations: 9.001 MB / 0.783 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.824, allocations: 63.83 kB / 0.7831 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.825, allocations: 122.5 kB / 0.7832 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004784/1.829, allocations: 1.057 MB / 0.7842 GB, free: 81.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/1.839, allocations: 1.414 MB / 0.7856 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/1.847, allocations: 5.38 MB / 0.7908 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006878/1.854, allocations: 329.7 kB / 0.7912 GB, free: 77.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.855, allocations: 363.1 kB / 0.7915 GB, free: 76.98 MB / 0.4948 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.002053/1.857, allocations: 0.5549 MB / 0.7921 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008964/1.858, allocations: 314.1 kB / 0.7924 GB, free: 76.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.871, allocations: 4.521 MB / 0.7968 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/1.872, allocations: 26.97 kB / 0.7968 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.872, allocations: 6.906 kB / 0.7968 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/1.872, allocations: 13.98 kB / 0.7968 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.899, allocations: 9.929 MB / 0.8065 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/1.899, allocations: 7.953 kB / 0.8065 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004151/1.903, allocations: 385.7 kB / 0.8069 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/1.908, allocations: 0.8735 MB / 0.8077 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000578/1.908, allocations: 35.7 kB / 0.8078 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/1.915, allocations: 4.727 MB / 0.8124 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.915, allocations: 0 / 0.8124 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.933, allocations: 7.854 MB / 0.8201 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002754/1.936, allocations: 0.7557 MB / 0.8208 GB, free: 51.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/1.937, allocations: 36.62 kB / 0.8208 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.94, allocations: 124.7 kB / 0.8209 GB, free: 51.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000786/1.941, allocations: 128.2 kB / 0.8211 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/1.942, allocations: 55.52 kB / 0.8211 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005014/1.947, allocations: 2.035 MB / 0.8231 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.213e-06/1.947, allocations: 0 / 0.8231 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006943/1.954, allocations: 1.017 MB / 0.8241 GB, free: 48.79 MB / 0.4948 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.01898/1.973, allocations: 8.696 MB / 0.8326 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.989, allocations: 6.597 MB / 0.839 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.989, allocations: 4 kB / 0.839 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007423/1.996, allocations: 2.751 MB / 0.8417 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/1.999, allocations: 313.3 kB / 0.842 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/2.029, allocations: 9.737 MB / 0.8515 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00646/2.035, allocations: 3.131 MB / 0.8546 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005018/2.04, allocations: 1.764 MB / 0.8563 GB, free: 18.38 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/2.04, allocations: 0 / 0.8563 GB, free: 18.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.893/6.934, allocations: 143.7 MB / 0.9967 GB, free: 102.7 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat