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.001182/0.001182, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001152/0.001152, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.337/1.337, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2209/0.2209, allocations: 44.17 MB / 336.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.25 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1164, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03498/0.1515, allocations: 38.49 MB / 0.4954 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.1695, allocations: 7.759 MB / 0.503 GB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009506/0.1791, allocations: 159.6 kB / 0.5031 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2968/0.4759, allocations: 2.249 MB / 0.5053 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.4799, allocations: 1.139 MB / 0.5065 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.4817, allocations: 483.1 kB / 0.5069 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005953/0.4877, allocations: 2.994 MB / 0.5098 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005969/0.4937, allocations: 3.207 MB / 0.513 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.498, allocations: 1.276 MB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.5027, allocations: 1.908 MB / 0.5161 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.5041, allocations: 293.5 kB / 0.5164 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.5069, allocations: 1.002 MB / 0.5173 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.509, allocations: 1.627 MB / 0.5189 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.5118, allocations: 2.003 MB / 0.5209 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006757/0.5186, allocations: 6.093 MB / 0.5268 GB, free: 5.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5186, allocations: 4 kB / 0.5268 GB, free: 5.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5186, allocations: 0 / 0.5268 GB, free: 5.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.5188, allocations: 0 / 0.5268 GB, free: 5.789 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.009573/0.5284, allocations: 4.254 MB / 0.531 GB, free: 2.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5285, allocations: 10.16 kB / 0.531 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001262/0.5298, allocations: 0.6924 MB / 0.5317 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.5354, allocations: 1.816 MB / 0.5335 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.5387, allocations: 1.747 MB / 0.5352 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.5388, allocations: 225.8 kB / 0.5354 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000716/0.5396, allocations: 301.3 kB / 0.5357 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.5616, allocations: 10.63 MB / 0.546 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002516/0.5619, allocations: 37.7 kB / 0.5461 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.5636, allocations: 146.3 kB / 0.5462 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00417/0.5678, allocations: 2.036 MB / 0.5482 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/0.5887, allocations: 9.327 MB / 0.5573 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/0.639, allocations: 38.01 MB / 0.5944 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.65, allocations: 4.167 MB / 0.5985 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.6534, allocations: 2.309 MB / 0.6008 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009487/0.6629, allocations: 6.021 MB / 0.6066 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.663, allocations: 51.16 kB / 0.6067 GB, free: 8.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.07e-06/0.663, allocations: 0 / 0.6067 GB, free: 8.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06399/0.727, allocations: 21.94 MB / 0.6281 GB, free: 2.578 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.7271, allocations: 149.8 kB / 0.6283 GB, free: 2.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00563/0.7327, allocations: 3.382 MB / 0.6316 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.733, allocations: 53.7 kB / 0.6316 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002037/0.7351, allocations: 2.802 MB / 0.6343 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.7362, allocations: 0.7935 MB / 0.6351 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00224/0.7384, allocations: 1.194 MB / 0.6363 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7386, allocations: 305.1 kB / 0.6366 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/0.7422, allocations: 2.333 MB / 0.6389 GB, free: 7.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005738/0.7479, allocations: 5.78 MB / 0.6445 GB, free: 84 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/0.7577, allocations: 8.803 MB / 0.6531 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.7578, allocations: 36 kB / 0.6531 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01466/0.7725, allocations: 8.687 MB / 0.6616 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.7726, allocations: 58.03 kB / 0.6617 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/0.7728, allocations: 124.9 kB / 0.6618 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/0.7755, allocations: 1.038 MB / 0.6628 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.7798, allocations: 1.376 MB / 0.6642 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005954/0.7858, allocations: 5.822 MB / 0.6698 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.7902, allocations: 335.3 kB / 0.6702 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009623/0.7912, allocations: 362.2 kB / 0.6705 GB, free: 3.934 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003818/0.795, allocations: 1.935 MB / 0.6724 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008094/0.7958, allocations: 312 kB / 0.6727 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/0.803, allocations: 3.94 MB / 0.6765 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.803, allocations: 28 kB / 0.6766 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.8031, allocations: 4 kB / 0.6766 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.8031, allocations: 11.95 kB / 0.6766 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.8192, allocations: 8.882 MB / 0.6853 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8192, allocations: 0 / 0.6853 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.8209, allocations: 347.5 kB / 0.6856 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.8233, allocations: 0.8773 MB / 0.6864 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.8235, allocations: 35.98 kB / 0.6865 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004999/0.8285, allocations: 5.099 MB / 0.6915 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8286, allocations: 0 / 0.6915 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.8389, allocations: 6.865 MB / 0.6982 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/0.8399, allocations: 360.8 kB / 0.6985 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007338/0.8406, allocations: 34.11 kB / 0.6985 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.8425, allocations: 115.8 kB / 0.6986 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/0.843, allocations: 113.1 kB / 0.6988 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.8432, allocations: 59.92 kB / 0.6988 GB, free: 6.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004571/0.8477, allocations: 2.085 MB / 0.7008 GB, free: 4.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8478, allocations: 192 / 0.7008 GB, free: 4.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006461/0.8542, allocations: 0.9678 MB / 0.7018 GB, free: 3.469 MB / 0.545 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2351/1.089, allocations: 7.521 MB / 0.7091 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.106, allocations: 7.841 MB / 0.7168 GB, free: 198.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.106, allocations: 1.344 kB / 0.7168 GB, free: 198.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/1.11, allocations: 2.468 MB / 0.7192 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.113, allocations: 353.5 kB / 0.7195 GB, free: 197.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07137/1.184, allocations: 50.19 MB / 0.7686 GB, free: 154.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003793/1.188, allocations: 3.018 MB / 0.7715 GB, free: 152.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004297/1.192, allocations: 1.87 MB / 0.7733 GB, free: 150.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/1.195, allocations: 1.71 MB / 0.775 GB, free: 149.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.195, allocations: 0 / 0.775 GB, free: 149.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/1.291, allocations: 67.88 MB / 0.8413 GB, free: 81.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.291, allocations: 227.4 kB / 0.8415 GB, free: 81.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/5.018, allocations: 4 kB / 0.8415 GB, free: 81.44 MB / 0.545 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches