Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_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.001235/0.001235, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.589/1.589, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00112/0.00112, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2217/0.2217, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.5054, allocations: 106.4 MB / 0.5828 GB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5057, allocations: 77.84 kB / 0.5828 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1778/0.6835, allocations: 71.21 MB / 0.6524 GB, free: 10.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.6836, allocations: 0 / 0.6524 GB, free: 10.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001844/0.6838, allocations: 75.98 kB / 0.6525 GB, free: 10.12 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.0119/0.6957, allocations: 3.732 MB / 0.6561 GB, free: 6.316 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6958, allocations: 15.97 kB / 0.6561 GB, free: 6.301 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002631/0.6984, allocations: 0.7419 MB / 0.6568 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/0.7075, allocations: 2.065 MB / 0.6589 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.7161, allocations: 2.076 MB / 0.6609 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.7167, allocations: 308 kB / 0.6612 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/0.72, allocations: 403.9 kB / 0.6616 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02999/0.75, allocations: 11.11 MB / 0.6724 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.7503, allocations: 63.45 kB / 0.6725 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/0.7516, allocations: 199.9 kB / 0.6727 GB, free: 4.324 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/0.7532, allocations: 1.057 MB / 0.6737 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.7747, allocations: 9.514 MB / 0.683 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3529/1.128, allocations: 45.87 MB / 0.7278 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.14, allocations: 4.281 MB / 0.732 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/1.152, allocations: 5.761 MB / 0.7376 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.152, allocations: 54.47 kB / 0.7376 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 7.393e-06/1.152, allocations: 3.75 kB / 0.7376 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.07953/1.231, allocations: 27.68 MB / 0.7647 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/1.231, allocations: 151.5 kB / 0.7648 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/1.236, allocations: 3.008 MB / 0.7678 GB, free: 92.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.236, allocations: 64.41 kB / 0.7678 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.238, allocations: 2.799 MB / 0.7706 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009818/1.239, allocations: 0.8431 MB / 0.7714 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/1.239, allocations: 117.1 kB / 0.7715 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.239, allocations: 0.5586 MB / 0.772 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/1.243, allocations: 2.563 MB / 0.7745 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/1.248, allocations: 5.986 MB / 0.7804 GB, free: 83.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/1.253, allocations: 3.853 MB / 0.7841 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.797e-05/1.253, allocations: 32.91 kB / 0.7842 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01595/1.269, allocations: 9.184 MB / 0.7931 GB, free: 78.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/1.269, allocations: 58.25 kB / 0.7932 GB, free: 78.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.269, allocations: 124.2 kB / 0.7933 GB, free: 78.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.272, allocations: 1.066 MB / 0.7944 GB, free: 78.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00502/1.277, allocations: 1.411 MB / 0.7957 GB, free: 78.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/1.282, allocations: 5.489 MB / 0.8011 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.287, allocations: 328.2 kB / 0.8014 GB, free: 73.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.288, allocations: 363.8 kB / 0.8018 GB, free: 72.82 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 () * 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.004142/1.292, allocations: 1.962 MB / 0.8037 GB, free: 71.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008021/1.293, allocations: 315.9 kB / 0.804 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/1.3, allocations: 4.554 MB / 0.8084 GB, free: 66.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.26e-05/1.3, allocations: 25.17 kB / 0.8084 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/1.3, allocations: 7.234 kB / 0.8085 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/1.301, allocations: 13.89 kB / 0.8085 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.319, allocations: 9.972 MB / 0.8182 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.319, allocations: 4 kB / 0.8182 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.321, allocations: 385.3 kB / 0.8186 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/1.324, allocations: 0.873 MB / 0.8194 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.324, allocations: 38.02 kB / 0.8195 GB, free: 57.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/1.328, allocations: 4.828 MB / 0.8242 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.328, allocations: 0 / 0.8242 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009408/1.337, allocations: 7.936 MB / 0.8319 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/1.339, allocations: 0.7496 MB / 0.8327 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.34, allocations: 33.64 kB / 0.8327 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.342, allocations: 132.1 kB / 0.8328 GB, free: 45.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.342, allocations: 120.8 kB / 0.8329 GB, free: 45.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.343, allocations: 62.62 kB / 0.833 GB, free: 45.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003705/1.346, allocations: 2.065 MB / 0.835 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.346, allocations: 0 / 0.835 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006165/1.353, allocations: 1.017 MB / 0.836 GB, free: 42.3 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 () * 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.01135/1.364, allocations: 8.759 MB / 0.8446 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.374, allocations: 6.675 MB / 0.8511 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/1.374, allocations: 4 kB / 0.8511 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.378, allocations: 2.772 MB / 0.8538 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.38, allocations: 313.1 kB / 0.8541 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3426/1.723, allocations: 116.5 MB / 0.9678 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005482/1.729, allocations: 3.134 MB / 0.9709 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004662/1.733, allocations: 1.945 MB / 0.9728 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/1.736, allocations: 1.719 MB / 0.9745 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/1.736, allocations: 0 / 0.9745 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/1.863, allocations: 74.58 MB / 1.047 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.863, allocations: 194.7 kB / 1.047 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.456/6.319, allocations: 0 / 1.047 GB, free: 62.18 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat