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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 93.44 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 181.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 11.98 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.02986/0.1687, allocations: 32.89 MB / 0.4926 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.1862, allocations: 7.764 MB / 0.5002 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006011/0.1923, allocations: 155.6 kB / 0.5003 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005966/0.1983, allocations: 1.594 MB / 0.5019 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2651/0.4635, allocations: 4.548 MB / 0.5063 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.4658, allocations: 374.4 kB / 0.5067 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004169/0.47, allocations: 1.729 MB / 0.5084 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006058/0.4761, allocations: 3.747 MB / 0.512 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.4779, allocations: 0.8202 MB / 0.5128 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.4797, allocations: 1.108 MB / 0.5139 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004887/0.4802, allocations: 132.5 kB / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.4821, allocations: 0.7328 MB / 0.5148 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.4839, allocations: 1.293 MB / 0.516 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.485, allocations: 0.7568 MB / 0.5168 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00633/0.4914, allocations: 4.788 MB / 0.5214 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4914, allocations: 0 / 0.5214 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4914, allocations: 1.375 kB / 0.5214 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.4917, allocations: 0 / 0.5214 GB, free: 10.55 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.008847/0.5005, allocations: 3.605 MB / 0.525 GB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5006, allocations: 9.094 kB / 0.525 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001472/0.502, allocations: 0.7009 MB / 0.5257 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006838/0.5089, allocations: 2.175 MB / 0.5278 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.5132, allocations: 1.709 MB / 0.5295 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.5134, allocations: 226.2 kB / 0.5297 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007129/0.5141, allocations: 306.1 kB / 0.53 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.5366, allocations: 10.74 MB / 0.5405 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.5369, allocations: 36 kB / 0.5405 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006354/0.5375, allocations: 142.8 kB / 0.5406 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003422/0.5409, allocations: 2.04 MB / 0.5426 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.5615, allocations: 9.439 MB / 0.5518 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.6145, allocations: 38.51 MB / 0.5894 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/0.6325, allocations: 6.8 MB / 0.5961 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.6428, allocations: 6.39 MB / 0.6023 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.6429, allocations: 60.89 kB / 0.6024 GB, free: 9.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.659e-06/0.6429, allocations: 0 / 0.6024 GB, free: 9.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.07967/0.7226, allocations: 28.12 MB / 0.6298 GB, free: 13.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.7227, allocations: 145.8 kB / 0.63 GB, free: 13.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00478/0.7275, allocations: 3.363 MB / 0.6333 GB, free: 9.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004516/0.7279, allocations: 58.03 kB / 0.6333 GB, free: 9.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.73, allocations: 2.802 MB / 0.6361 GB, free: 7.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.7311, allocations: 0.7905 MB / 0.6368 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.7314, allocations: 116 kB / 0.6369 GB, free: 6.109 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003552/0.7317, allocations: 0.558 MB / 0.6375 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.7351, allocations: 2.405 MB / 0.6398 GB, free: 3.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005173/0.7403, allocations: 5.844 MB / 0.6455 GB, free: 11.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/0.7453, allocations: 3.684 MB / 0.6491 GB, free: 8.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.863e-05/0.7454, allocations: 36 kB / 0.6492 GB, free: 8.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01476/0.7601, allocations: 8.829 MB / 0.6578 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/0.7602, allocations: 60 kB / 0.6578 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.7604, allocations: 120 kB / 0.658 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.7631, allocations: 1.061 MB / 0.659 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/0.769, allocations: 1.4 MB / 0.6604 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.7749, allocations: 5.498 MB / 0.6657 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/0.7812, allocations: 347.5 kB / 0.6661 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/0.7831, allocations: 356.5 kB / 0.6664 GB, free: 6.168 MB / 0.4981 GB 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.00513/0.7882, allocations: 1.943 MB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008686/0.7891, allocations: 308 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/0.7965, allocations: 4.163 MB / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.7966, allocations: 25.75 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.7966, allocations: 11.98 kB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.7966, allocations: 15.92 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.8133, allocations: 9.256 MB / 0.6818 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.8134, allocations: 0 / 0.6818 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.8151, allocations: 375.4 kB / 0.6821 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.8175, allocations: 0.869 MB / 0.683 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/0.8178, allocations: 39.94 kB / 0.683 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/0.8225, allocations: 4.835 MB / 0.6877 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8225, allocations: 0 / 0.6877 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.8334, allocations: 7.279 MB / 0.6948 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.8347, allocations: 368.9 kB / 0.6952 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.8352, allocations: 36 kB / 0.6952 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8366, allocations: 145.7 kB / 0.6954 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.837, allocations: 113.1 kB / 0.6955 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.8371, allocations: 58.33 kB / 0.6955 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00354/0.8407, allocations: 2.061 MB / 0.6975 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8407, allocations: 0 / 0.6975 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005489/0.8462, allocations: 0.9804 MB / 0.6985 GB, free: 4.891 MB / 0.5294 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 (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.3053/1.152, allocations: 8.107 MB / 0.7064 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01516/1.167, allocations: 6.285 MB / 0.7125 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.167, allocations: 0.5625 kB / 0.7125 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.172, allocations: 2.558 MB / 0.715 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/1.175, allocations: 304.5 kB / 0.7153 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0771/1.252, allocations: 116 MB / 0.8286 GB, free: 75.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.255, allocations: 3.102 MB / 0.8316 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004435/1.259, allocations: 1.882 MB / 0.8335 GB, free: 71.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/1.261, allocations: 1.707 MB / 0.8351 GB, free: 70.36 MB / 0.5294 GB Notification: Performance of SimCode: time 1.472e-06/1.262, allocations: 0 / 0.8351 GB, free: 70.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3475/1.609, allocations: 72.52 MB / 0.906 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.609, allocations: 203.4 kB / 0.9062 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.802/5.411, allocations: 0 / 0.9062 GB, free: 166.9 MB / 0.5294 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