Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009709/0.0009706, allocations: 98.25 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3733/0.3733, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003934, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3748, allocations: 61.89 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5301, allocations: 108.1 MB / 0.6152 GB, free: 2.969 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5304, allocations: 83.94 kB / 0.6153 GB, free: 2.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4878/1.018, allocations: 72.23 MB / 0.6858 GB, free: 96.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.018, allocations: 0 / 0.6858 GB, free: 96.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001694/1.018, allocations: 79.14 kB / 0.6859 GB, free: 96.42 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01047/1.029, allocations: 3.728 MB / 0.6895 GB, free: 94.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.029, allocations: 8.406 kB / 0.6895 GB, free: 94.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/1.031, allocations: 0.7393 MB / 0.6903 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/1.039, allocations: 2.065 MB / 0.6923 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006118/1.045, allocations: 2.076 MB / 0.6943 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/1.046, allocations: 318.8 kB / 0.6946 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/1.048, allocations: 399.8 kB / 0.695 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/1.069, allocations: 11.12 MB / 0.7059 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/1.07, allocations: 57.62 kB / 0.7059 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006075/1.07, allocations: 199.9 kB / 0.7061 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/1.072, allocations: 1.072 MB / 0.7072 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/1.096, allocations: 9.5 MB / 0.7164 GB, free: 90.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/1.146, allocations: 45.87 MB / 0.7612 GB, free: 56.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00986/1.156, allocations: 4.273 MB / 0.7654 GB, free: 54.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009328/1.166, allocations: 5.77 MB / 0.771 GB, free: 51.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/1.166, allocations: 46.72 kB / 0.7711 GB, free: 51.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.151e-06/1.166, allocations: 0 / 0.7711 GB, free: 51.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.07472/1.241, allocations: 27.69 MB / 0.7981 GB, free: 37.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.241, allocations: 154.5 kB / 0.7983 GB, free: 37.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/1.247, allocations: 3.002 MB / 0.8012 GB, free: 35.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008472/1.247, allocations: 57.7 kB / 0.8013 GB, free: 35.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.249, allocations: 2.798 MB / 0.804 GB, free: 32.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.251, allocations: 0.8404 MB / 0.8048 GB, free: 31.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/1.251, allocations: 120 kB / 0.8049 GB, free: 31.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000295/1.251, allocations: 0.5667 MB / 0.8055 GB, free: 31.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/1.254, allocations: 2.56 MB / 0.808 GB, free: 29.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/1.259, allocations: 5.983 MB / 0.8138 GB, free: 21.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/1.264, allocations: 3.859 MB / 0.8176 GB, free: 18.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.855e-05/1.264, allocations: 36 kB / 0.8176 GB, free: 18.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01457/1.279, allocations: 9.175 MB / 0.8266 GB, free: 9.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/1.279, allocations: 56.94 kB / 0.8266 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.279, allocations: 120 kB / 0.8267 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/1.282, allocations: 1.065 MB / 0.8278 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/1.287, allocations: 1.411 MB / 0.8292 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/1.292, allocations: 5.486 MB / 0.8345 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0063/1.299, allocations: 335.5 kB / 0.8348 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.3, allocations: 360 kB / 0.8352 GB, free: 0.7188 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.005763/1.306, allocations: 1.971 MB / 0.8371 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.307, allocations: 308 kB / 0.8374 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/1.317, allocations: 4.554 MB / 0.8419 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/1.317, allocations: 27.98 kB / 0.8419 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/1.317, allocations: 4 kB / 0.8419 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/1.317, allocations: 11.92 kB / 0.8419 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.339, allocations: 9.96 MB / 0.8516 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.339, allocations: 0 / 0.8516 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.342, allocations: 387.5 kB / 0.852 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/1.344, allocations: 0.8773 MB / 0.8528 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/1.344, allocations: 43.48 kB / 0.8529 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/1.349, allocations: 4.83 MB / 0.8576 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.349, allocations: 0 / 0.8576 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.361, allocations: 7.931 MB / 0.8654 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.363, allocations: 360.9 kB / 0.8657 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/1.363, allocations: 40 kB / 0.8657 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.365, allocations: 123.8 kB / 0.8659 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.365, allocations: 121.8 kB / 0.866 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.365, allocations: 60.64 kB / 0.866 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003656/1.369, allocations: 2.063 MB / 0.868 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.369, allocations: 4 kB / 0.868 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005505/1.374, allocations: 1.019 MB / 0.869 GB, free: 13.65 MB / 0.5261 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.01301/1.387, allocations: 8.766 MB / 0.8776 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2815/1.669, allocations: 6.674 MB / 0.8841 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.669, allocations: 0 / 0.8841 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004472/1.673, allocations: 2.769 MB / 0.8868 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.676, allocations: 306.3 kB / 0.8871 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07907/1.755, allocations: 116.5 MB / 1.001 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/1.759, allocations: 3.124 MB / 1.004 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00731/1.767, allocations: 1.949 MB / 1.006 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003724/1.77, allocations: 1.713 MB / 1.007 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/1.77, allocations: 0 / 1.007 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.894, allocations: 74.63 MB / 1.08 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.895, allocations: 203.1 kB / 1.081 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.329/6.224, allocations: 0 / 1.081 GB, free: 11.41 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat