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.002415/0.002414, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.094/2.094, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001127/0.001127, allocations: 90.91 kB / 270.9 MB, free: 8.395 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.5316/0.5316, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006494, allocations: 16 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1287, allocations: 58.84 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6254, allocations: 106.4 MB / 0.5827 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.6257, allocations: 79.97 kB / 0.5828 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2891/0.9148, allocations: 71.21 MB / 0.6524 GB, free: 4.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9149, allocations: 0 / 0.6524 GB, free: 4.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002089/0.9151, allocations: 72 kB / 0.6524 GB, free: 4.273 MB / 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.01495/0.9301, allocations: 3.745 MB / 0.6561 GB, free: 472 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.9302, allocations: 8.031 kB / 0.6561 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003117/0.9333, allocations: 0.7419 MB / 0.6568 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.9485, allocations: 2.065 MB / 0.6588 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007678/0.9562, allocations: 2.08 MB / 0.6609 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.9567, allocations: 305 kB / 0.6611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/0.9591, allocations: 399.9 kB / 0.6615 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3882/1.347, allocations: 11.12 MB / 0.6724 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003057/1.348, allocations: 55.95 kB / 0.6724 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/1.349, allocations: 194.2 kB / 0.6726 GB, free: 93.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002956/1.352, allocations: 1.071 MB / 0.6737 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/1.384, allocations: 9.507 MB / 0.683 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06481/1.449, allocations: 45.88 MB / 0.7278 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/1.468, allocations: 4.273 MB / 0.7319 GB, free: 64.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/1.484, allocations: 5.759 MB / 0.7376 GB, free: 61.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.484, allocations: 53.94 kB / 0.7376 GB, free: 61.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.673e-06/1.484, allocations: 1.5 kB / 0.7376 GB, free: 61.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.1401/1.624, allocations: 27.7 MB / 0.7647 GB, free: 52.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.624, allocations: 150.7 kB / 0.7648 GB, free: 52.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/1.63, allocations: 3.006 MB / 0.7677 GB, free: 51.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006047/1.631, allocations: 64.23 kB / 0.7678 GB, free: 51.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.633, allocations: 2.77 MB / 0.7705 GB, free: 48.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.635, allocations: 0.8389 MB / 0.7713 GB, free: 48.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008493/1.635, allocations: 120.8 kB / 0.7714 GB, free: 48.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003763/1.636, allocations: 0.564 MB / 0.772 GB, free: 47.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006198/1.642, allocations: 2.565 MB / 0.7745 GB, free: 46.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008919/1.651, allocations: 5.981 MB / 0.7803 GB, free: 41.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008655/1.66, allocations: 3.848 MB / 0.7841 GB, free: 39.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.66, allocations: 38.75 kB / 0.7841 GB, free: 39.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02453/1.684, allocations: 9.107 MB / 0.793 GB, free: 36.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/1.685, allocations: 56.16 kB / 0.7931 GB, free: 36.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/1.685, allocations: 122.3 kB / 0.7932 GB, free: 36.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004751/1.69, allocations: 1.07 MB / 0.7942 GB, free: 35.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009261/1.699, allocations: 1.412 MB / 0.7956 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007807/1.707, allocations: 5.475 MB / 0.801 GB, free: 31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.713, allocations: 331.6 kB / 0.8013 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.715, allocations: 363.5 kB / 0.8016 GB, free: 30.38 MB / 490.7 MB 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 () * Number of clocked 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.005319/1.72, allocations: 1.971 MB / 0.8036 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/1.721, allocations: 312.7 kB / 0.8039 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.734, allocations: 4.558 MB / 0.8083 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.548e-05/1.734, allocations: 24 kB / 0.8083 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.734, allocations: 4 kB / 0.8083 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.124e-05/1.734, allocations: 18.67 kB / 0.8084 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/1.761, allocations: 9.958 MB / 0.8181 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/1.761, allocations: 0 / 0.8181 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/1.765, allocations: 383.5 kB / 0.8184 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004372/1.769, allocations: 0.887 MB / 0.8193 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006006/1.77, allocations: 35.56 kB / 0.8193 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/1.777, allocations: 4.826 MB / 0.8241 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.777, allocations: 3.953 kB / 0.8241 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.795, allocations: 7.935 MB / 0.8318 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002673/1.798, allocations: 0.7493 MB / 0.8325 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.799, allocations: 36 kB / 0.8326 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004195/1.803, allocations: 118.3 kB / 0.8327 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008318/1.804, allocations: 130.7 kB / 0.8328 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.805, allocations: 55.94 kB / 0.8329 GB, free: 2.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005311/1.81, allocations: 2.063 MB / 0.8349 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.198e-06/1.81, allocations: 4 kB / 0.8349 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007822/1.818, allocations: 1.017 MB / 0.8359 GB, free: 15.75 MB / 0.4949 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 (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.02319/1.841, allocations: 8.767 MB / 0.8444 GB, free: 6.938 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.861, allocations: 6.675 MB / 0.851 GB, free: 232 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.862, allocations: 4 kB / 0.851 GB, free: 228 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009012/1.871, allocations: 2.775 MB / 0.8537 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/1.873, allocations: 317 kB / 0.854 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4548/2.328, allocations: 116.9 MB / 0.9681 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006645/2.335, allocations: 3.13 MB / 0.9712 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004859/2.34, allocations: 1.761 MB / 0.9729 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/2.34, allocations: 0 / 0.9729 GB, free: 43.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.778/7.118, allocations: 143.7 MB / 1.113 GB, free: 132 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