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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3868/0.3868, allocations: 43.55 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005993/0.0005994, allocations: 20 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2735/0.4158, allocations: 32.92 MB / 475.8 MB, free: 31.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.4352, allocations: 7.805 MB / 483.6 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007221/0.4425, allocations: 158.1 kB / 483.7 MB, free: 26.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00557/0.4481, allocations: 1.599 MB / 485.3 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.4631, allocations: 4.548 MB / 489.9 MB, free: 23.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.4657, allocations: 370.8 kB / 490.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.4693, allocations: 1.743 MB / 492 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/0.4738, allocations: 3.749 MB / 495.7 MB, free: 21.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.4752, allocations: 0.8309 MB / 496.6 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.4768, allocations: 1.111 MB / 497.7 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.4773, allocations: 130.1 kB / 497.8 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.479, allocations: 0.7233 MB / 498.5 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.4805, allocations: 1.297 MB / 499.8 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009225/0.4814, allocations: 0.755 MB / 0.4888 GB, free: 19.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.4893, allocations: 4.779 MB / 0.4935 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4893, allocations: 0 / 0.4935 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4894, allocations: 1.281 kB / 0.4935 GB, free: 18.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003124/0.4897, allocations: 0 / 0.4935 GB, free: 18.28 MB / 382.1 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.01102/0.5007, allocations: 3.618 MB / 0.497 GB, free: 16.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5008, allocations: 9.094 kB / 0.4971 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001839/0.5026, allocations: 0.7014 MB / 0.4977 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/0.5101, allocations: 2.188 MB / 0.4999 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.5152, allocations: 1.689 MB / 0.5015 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.5155, allocations: 235.7 kB / 0.5017 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.5164, allocations: 303.3 kB / 0.502 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.5406, allocations: 10.74 MB / 0.5125 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.5408, allocations: 41.56 kB / 0.5126 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.5412, allocations: 142.1 kB / 0.5127 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.5446, allocations: 2.042 MB / 0.5147 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.5659, allocations: 9.445 MB / 0.5239 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.053/0.619, allocations: 38.49 MB / 0.5615 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/0.6373, allocations: 6.822 MB / 0.5682 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.6478, allocations: 6.392 MB / 0.5744 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.6479, allocations: 59.81 kB / 0.5745 GB, free: 7.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.15e-06/0.6479, allocations: 0 / 0.5745 GB, free: 7.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.08079/0.7287, allocations: 28.12 MB / 0.6019 GB, free: 10.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.7289, allocations: 145.8 kB / 0.6021 GB, free: 10.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005379/0.7343, allocations: 3.371 MB / 0.6054 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006348/0.7349, allocations: 57.61 kB / 0.6054 GB, free: 7.047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.7371, allocations: 2.801 MB / 0.6082 GB, free: 4.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.7384, allocations: 0.7905 MB / 0.6089 GB, free: 3.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.7387, allocations: 120 kB / 0.609 GB, free: 3.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000387/0.7391, allocations: 0.5541 MB / 0.6096 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.7431, allocations: 2.409 MB / 0.6119 GB, free: 316 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.7495, allocations: 5.839 MB / 0.6176 GB, free: 8.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006235/0.7557, allocations: 3.678 MB / 0.6212 GB, free: 5.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-05/0.7558, allocations: 36 kB / 0.6213 GB, free: 5.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.3323/1.088, allocations: 8.827 MB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.088, allocations: 60.97 kB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.089, allocations: 119.3 kB / 0.6301 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/1.092, allocations: 1.059 MB / 0.6311 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006049/1.098, allocations: 1.398 MB / 0.6325 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/1.103, allocations: 5.506 MB / 0.6378 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/1.11, allocations: 349.5 kB / 0.6382 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.112, allocations: 362 kB / 0.6385 GB, free: 135.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * 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.005455/1.117, allocations: 1.944 MB / 0.6404 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/1.118, allocations: 305.5 kB / 0.6407 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/1.125, allocations: 4.162 MB / 0.6448 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/1.125, allocations: 25.77 kB / 0.6448 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.125, allocations: 3 kB / 0.6448 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/1.125, allocations: 9.891 kB / 0.6448 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.144, allocations: 9.26 MB / 0.6538 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.144, allocations: 5.203 kB / 0.6539 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.146, allocations: 375.6 kB / 0.6542 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/1.148, allocations: 0.8699 MB / 0.6551 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003643/1.149, allocations: 34.84 kB / 0.6551 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/1.154, allocations: 4.84 MB / 0.6598 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.154, allocations: 5.344 kB / 0.6598 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.167, allocations: 7.271 MB / 0.6669 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/1.169, allocations: 0.7078 MB / 0.6676 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/1.17, allocations: 36.8 kB / 0.6677 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.172, allocations: 146.3 kB / 0.6678 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005275/1.173, allocations: 122.8 kB / 0.6679 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.173, allocations: 53.28 kB / 0.668 GB, free: 123.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004235/1.177, allocations: 2.068 MB / 0.67 GB, free: 122.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.177, allocations: 3.719 kB / 0.67 GB, free: 122.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00624/1.183, allocations: 0.9761 MB / 0.6709 GB, free: 122.6 MB / 494.1 MB 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 (178): * Single equations (assignments): 171 * 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.01003/1.193, allocations: 8.098 MB / 0.6788 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01049/1.204, allocations: 6.29 MB / 0.685 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.204, allocations: 4 kB / 0.685 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/1.208, allocations: 2.557 MB / 0.6875 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/1.211, allocations: 309.6 kB / 0.6878 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07646/1.287, allocations: 116 MB / 0.8011 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/1.291, allocations: 3.103 MB / 0.8041 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005105/1.296, allocations: 1.884 MB / 0.8059 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/1.299, allocations: 1.71 MB / 0.8076 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of SimCode: time 2.044e-06/1.299, allocations: 0 / 0.8076 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/1.77, allocations: 72.52 MB / 0.8784 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.771, allocations: 209.3 kB / 0.8786 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/5.725, allocations: 0 / 0.8786 GB, free: 120.6 MB / 0.4981 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) Environment - environmentSimulation: 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