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.001286/0.001286, allocations: 183 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.592/1.592, 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.001052/0.001052, allocations: 94.33 kB / 267 MB, free: 9.281 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.4684/0.4684, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.783e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.6044, allocations: 106.3 MB / 0.5767 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6047, allocations: 78.02 kB / 0.5768 GB, free: 15.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1883/0.793, allocations: 71.26 MB / 0.6464 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.7931, allocations: 3.984 kB / 0.6464 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002545/0.7934, allocations: 76 kB / 0.6465 GB, free: 0.8906 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.01365/0.807, allocations: 3.625 MB / 0.65 GB, free: 13.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.8071, allocations: 8.031 kB / 0.65 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00343/0.8106, allocations: 0.7458 MB / 0.6507 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.8208, allocations: 2.062 MB / 0.6528 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/0.8282, allocations: 2.069 MB / 0.6548 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.8286, allocations: 308 kB / 0.6551 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/0.8311, allocations: 403.8 kB / 0.6555 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.8603, allocations: 11.05 MB / 0.6662 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002582/0.8606, allocations: 47.56 kB / 0.6663 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.8621, allocations: 199.9 kB / 0.6665 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001717/0.8638, allocations: 1.069 MB / 0.6675 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/0.8873, allocations: 9.368 MB / 0.6767 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4159/1.303, allocations: 45.88 MB / 0.7215 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.315, allocations: 4.233 MB / 0.7256 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/1.318, allocations: 2.299 MB / 0.7279 GB, free: 77.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009699/1.328, allocations: 5.764 MB / 0.7335 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/1.328, allocations: 61.34 kB / 0.7335 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.579e-06/1.328, allocations: 0 / 0.7335 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.05829/1.386, allocations: 21.86 MB / 0.7549 GB, free: 73.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/1.386, allocations: 153.2 kB / 0.755 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/1.391, allocations: 2.981 MB / 0.7579 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.392, allocations: 57.95 kB / 0.758 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/1.394, allocations: 2.805 MB / 0.7607 GB, free: 71.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.395, allocations: 0.8358 MB / 0.7616 GB, free: 70.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/1.396, allocations: 120.7 kB / 0.7617 GB, free: 70.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003589/1.396, allocations: 0.5628 MB / 0.7622 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/1.4, allocations: 2.517 MB / 0.7647 GB, free: 69.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006338/1.407, allocations: 5.934 MB / 0.7705 GB, free: 63.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/1.414, allocations: 3.848 MB / 0.7742 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/1.414, allocations: 34.19 kB / 0.7743 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01995/1.434, allocations: 9.086 MB / 0.7831 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.434, allocations: 62.89 kB / 0.7832 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/1.434, allocations: 119.7 kB / 0.7833 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/1.437, allocations: 1.066 MB / 0.7843 GB, free: 58.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005816/1.443, allocations: 1.416 MB / 0.7857 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/1.449, allocations: 5.371 MB / 0.791 GB, free: 55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/1.454, allocations: 334.9 kB / 0.7913 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/1.456, allocations: 365.3 kB / 0.7916 GB, free: 54.84 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.001275/1.457, allocations: 0.5493 MB / 0.7922 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.458, allocations: 309.3 kB / 0.7925 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.471, allocations: 4.52 MB / 0.7969 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.621e-05/1.471, allocations: 29.89 kB / 0.7969 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.471, allocations: 3.625 kB / 0.7969 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.529e-05/1.472, allocations: 11.16 kB / 0.7969 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02963/1.501, allocations: 9.928 MB / 0.8066 GB, free: 48.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/1.501, allocations: 0 / 0.8066 GB, free: 48.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003973/1.505, allocations: 389.9 kB / 0.807 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003921/1.509, allocations: 0.874 MB / 0.8079 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/1.51, allocations: 44.41 kB / 0.8079 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/1.516, allocations: 4.71 MB / 0.8125 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.516, allocations: 0 / 0.8125 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.536, allocations: 7.86 MB / 0.8202 GB, free: 41.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003815/1.54, allocations: 0.7502 MB / 0.8209 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/1.542, allocations: 42.7 kB / 0.8209 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004197/1.546, allocations: 128.7 kB / 0.8211 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/1.547, allocations: 122.2 kB / 0.8212 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004399/1.547, allocations: 64.5 kB / 0.8212 GB, free: 40.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007608/1.555, allocations: 2.034 MB / 0.8232 GB, free: 40.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.72e-07/1.555, allocations: 0 / 0.8232 GB, free: 40.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01145/1.566, allocations: 1.008 MB / 0.8242 GB, free: 39.21 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.02257/1.589, allocations: 8.719 MB / 0.8327 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01929/1.608, allocations: 6.589 MB / 0.8392 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.608, allocations: 3.938 kB / 0.8392 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006541/1.615, allocations: 2.746 MB / 0.8419 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/1.62, allocations: 312.3 kB / 0.8421 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.648, allocations: 9.303 MB / 0.8512 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004551/1.652, allocations: 3.123 MB / 0.8543 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005312/1.658, allocations: 1.954 MB / 0.8562 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/1.661, allocations: 1.719 MB / 0.8579 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of SimCode: time 2.004e-06/1.661, allocations: 3.938 kB / 0.8579 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.471/2.132, allocations: 75.01 MB / 0.9311 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/2.132, allocations: 178.2 kB / 0.9313 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.593/6.725, allocations: 0.9062 kB / 0.9313 GB, free: 115.7 MB / 0.5105 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