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.001447/0.001447, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001668/0.001668, allocations: 187 kB / 18.71 MB, free: 4.363 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2049/0.2049, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.05 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01229/0.3356, allocations: 10.53 MB / 0.5287 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.344, allocations: 3.193 MB / 0.5318 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.3465, allocations: 56.75 kB / 0.5319 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00553/0.3521, allocations: 2.362 MB / 0.5342 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.3564, allocations: 1.223 MB / 0.5354 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.3584, allocations: 0.5181 MB / 0.5359 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005168/0.3636, allocations: 2.947 MB / 0.5388 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004643/0.3682, allocations: 3.024 MB / 0.5417 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.3709, allocations: 1.28 MB / 0.543 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.3742, allocations: 1.734 MB / 0.5447 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.3753, allocations: 296 kB / 0.5449 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.3779, allocations: 0.9909 MB / 0.5459 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.3804, allocations: 1.605 MB / 0.5475 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003179/0.3836, allocations: 1.977 MB / 0.5494 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.3918, allocations: 6.275 MB / 0.5555 GB, free: 5.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.3919, allocations: 0 / 0.5555 GB, free: 5.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.3919, allocations: 0 / 0.5555 GB, free: 5.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003127/0.3922, allocations: 0 / 0.5555 GB, free: 5.957 MB / 414.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.01113/0.4033, allocations: 4.261 MB / 0.5597 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4034, allocations: 8.031 kB / 0.5597 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002083/0.4055, allocations: 0.6913 MB / 0.5604 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006813/0.4123, allocations: 1.809 MB / 0.5621 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.4171, allocations: 1.781 MB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.4173, allocations: 229.8 kB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.4185, allocations: 303.8 kB / 0.5644 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.4396, allocations: 10.63 MB / 0.5748 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.4398, allocations: 39.59 kB / 0.5748 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007319/0.4405, allocations: 143.9 kB / 0.5749 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003551/0.4441, allocations: 2.048 MB / 0.5769 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.4637, allocations: 9.32 MB / 0.586 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.511, allocations: 37.84 MB / 0.623 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5217, allocations: 4.171 MB / 0.6271 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.5247, allocations: 2.309 MB / 0.6293 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009275/0.534, allocations: 6.021 MB / 0.6352 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.5341, allocations: 59.8 kB / 0.6353 GB, free: 2.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.129e-06/0.5341, allocations: 0 / 0.6353 GB, free: 2.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=210): time 0.06216/0.5963, allocations: 21.93 MB / 0.6567 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.5964, allocations: 145.8 kB / 0.6568 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/0.6011, allocations: 3.378 MB / 0.6601 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003702/0.6015, allocations: 65.64 kB / 0.6602 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.6033, allocations: 2.801 MB / 0.6629 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009179/0.6042, allocations: 0.7865 MB / 0.6637 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.606, allocations: 1.198 MB / 0.6649 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.6061, allocations: 305.1 kB / 0.6651 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/0.6095, allocations: 2.335 MB / 0.6674 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.6151, allocations: 5.781 MB / 0.6731 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.6253, allocations: 8.804 MB / 0.6817 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.6255, allocations: 40 kB / 0.6817 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01579/0.6413, allocations: 8.676 MB / 0.6902 GB, free: 6.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.6414, allocations: 63.12 kB / 0.6902 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.6415, allocations: 120 kB / 0.6904 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/0.6443, allocations: 1.041 MB / 0.6914 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004974/0.6493, allocations: 1.372 MB / 0.6927 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.6555, allocations: 5.821 MB / 0.6984 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.6599, allocations: 323.5 kB / 0.6987 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009994/0.6609, allocations: 356 kB / 0.699 GB, free: 12.7 MB / 0.5606 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.003586/0.6645, allocations: 1.943 MB / 0.7009 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/0.6652, allocations: 308 kB / 0.7012 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006929/0.6722, allocations: 3.943 MB / 0.7051 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/0.6722, allocations: 23.94 kB / 0.7051 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6723, allocations: 4 kB / 0.7051 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.6723, allocations: 11.97 kB / 0.7051 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.6882, allocations: 8.81 MB / 0.7137 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.6882, allocations: 4 kB / 0.7137 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.69, allocations: 351.4 kB / 0.7141 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.6925, allocations: 0.8696 MB / 0.7149 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/0.6927, allocations: 36 kB / 0.715 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.6978, allocations: 5.132 MB / 0.72 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6978, allocations: 4.031 kB / 0.72 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2445/0.9423, allocations: 6.872 MB / 0.7267 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009218/0.9432, allocations: 352.8 kB / 0.727 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007222/0.944, allocations: 32.06 kB / 0.727 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.9456, allocations: 119.9 kB / 0.7272 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.9461, allocations: 116.2 kB / 0.7273 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.9463, allocations: 54.19 kB / 0.7273 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003824/0.9501, allocations: 2.08 MB / 0.7294 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9501, allocations: 0 / 0.7294 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004889/0.955, allocations: 0.9688 MB / 0.7303 GB, free: 181.5 MB / 0.5762 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.01084/0.9659, allocations: 7.538 MB / 0.7377 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009972/0.9759, allocations: 6.139 MB / 0.7437 GB, free: 176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9759, allocations: 1.969 kB / 0.7437 GB, free: 176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/0.9798, allocations: 2.475 MB / 0.7461 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.9823, allocations: 356.6 kB / 0.7464 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05678/1.039, allocations: 44.01 MB / 0.7894 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.042, allocations: 3.014 MB / 0.7923 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003913/1.046, allocations: 1.865 MB / 0.7942 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/1.049, allocations: 1.718 MB / 0.7958 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/1.049, allocations: 0 / 0.7958 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09906/1.148, allocations: 65.38 MB / 0.8597 GB, free: 63.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.94, allocations: 9.797 kB / 0.8597 GB, free: 63.38 MB / 0.5762 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