Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 170.7 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000729/0.000729, allocations: 91.8 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3047/0.3047, allocations: 43.56 MB / 363.1 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003532, allocations: 16 kB / 432.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09524, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1939/0.2891, allocations: 34.88 MB / 0.5135 GB, free: 25.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.304, allocations: 7.474 MB / 0.5208 GB, free: 20.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006343/0.3104, allocations: 157.8 kB / 0.5209 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005314/0.3157, allocations: 1.787 MB / 0.5227 GB, free: 19.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.3286, allocations: 4.967 MB / 0.5275 GB, free: 17.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.3312, allocations: 453.2 kB / 0.528 GB, free: 17.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.3354, allocations: 3.525 MB / 0.5314 GB, free: 16.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005777/0.3412, allocations: 4.022 MB / 0.5353 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.3434, allocations: 0.9979 MB / 0.5363 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.3459, allocations: 1.57 MB / 0.5378 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000888/0.3468, allocations: 131.6 kB / 0.538 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3493, allocations: 0.8738 MB / 0.5388 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.3514, allocations: 1.383 MB / 0.5402 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.354, allocations: 1.695 MB / 0.5418 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.3597, allocations: 4.795 MB / 0.5465 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3597, allocations: 0 / 0.5465 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3598, allocations: 0 / 0.5465 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002895/0.36, allocations: 0 / 0.5465 GB, free: 10.52 MB / 378.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.009933/0.37, allocations: 3.458 MB / 0.5499 GB, free: 8.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3701, allocations: 8.312 kB / 0.5499 GB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002353/0.3724, allocations: 0.6954 MB / 0.5506 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/0.3789, allocations: 1.86 MB / 0.5524 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.3828, allocations: 1.744 MB / 0.5541 GB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.3831, allocations: 243.4 kB / 0.5543 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.3843, allocations: 295.6 kB / 0.5546 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.404, allocations: 10.61 MB / 0.565 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.4042, allocations: 35.66 kB / 0.565 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007859/0.405, allocations: 139.9 kB / 0.5651 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003456/0.4084, allocations: 2.044 MB / 0.5671 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.4269, allocations: 9.285 MB / 0.5762 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04365/0.4706, allocations: 38.04 MB / 0.6133 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.4807, allocations: 4.164 MB / 0.6174 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.4836, allocations: 2.297 MB / 0.6197 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008328/0.4919, allocations: 6.01 MB / 0.6255 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.492, allocations: 55.8 kB / 0.6256 GB, free: 14.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 5.481e-06/0.492, allocations: 4 kB / 0.6256 GB, free: 14.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=210): time 0.06165/0.5537, allocations: 21.93 MB / 0.647 GB, free: 8.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.5538, allocations: 153.8 kB / 0.6471 GB, free: 7.902 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/0.5587, allocations: 3.367 MB / 0.6504 GB, free: 4.527 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003313/0.559, allocations: 57.7 kB / 0.6505 GB, free: 4.465 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.5608, allocations: 2.798 MB / 0.6532 GB, free: 1.625 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/0.5616, allocations: 0.7943 MB / 0.654 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.562, allocations: 120 kB / 0.6541 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003646/0.5624, allocations: 0.558 MB / 0.6547 GB, free: 136 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.5659, allocations: 2.311 MB / 0.6569 GB, free: 13.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005548/0.5714, allocations: 5.761 MB / 0.6625 GB, free: 6.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009539/0.581, allocations: 8.768 MB / 0.6711 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.815e-05/0.5811, allocations: 36 kB / 0.6711 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01472/0.5958, allocations: 8.637 MB / 0.6796 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.596, allocations: 56 kB / 0.6796 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/0.5961, allocations: 120 kB / 0.6797 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.5988, allocations: 1.042 MB / 0.6808 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/0.6032, allocations: 1.372 MB / 0.6821 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1874/0.7906, allocations: 5.405 MB / 0.6874 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004393/0.795, allocations: 319.6 kB / 0.6877 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/0.7965, allocations: 361.5 kB / 0.688 GB, free: 148.5 MB / 0.4948 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.006054/0.8025, allocations: 1.941 MB / 0.6899 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007258/0.8033, allocations: 313.7 kB / 0.6902 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/0.8102, allocations: 3.944 MB / 0.6941 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/0.8103, allocations: 24.22 kB / 0.6941 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.8103, allocations: 5.578 kB / 0.6941 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.8104, allocations: 9.266 kB / 0.6941 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.8253, allocations: 8.872 MB / 0.7028 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.8253, allocations: 0 / 0.7028 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.8269, allocations: 352 kB / 0.7031 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00228/0.8292, allocations: 0.8723 MB / 0.704 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.8295, allocations: 40.44 kB / 0.704 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.8331, allocations: 4.745 MB / 0.7086 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8331, allocations: 2.938 kB / 0.7086 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00855/0.8417, allocations: 6.848 MB / 0.7153 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.8431, allocations: 0.6829 MB / 0.716 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006074/0.8438, allocations: 30.22 kB / 0.716 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.8454, allocations: 125.8 kB / 0.7161 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/0.8458, allocations: 121.6 kB / 0.7163 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.846, allocations: 54.69 kB / 0.7163 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003275/0.8492, allocations: 2.063 MB / 0.7183 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8493, allocations: 0 / 0.7183 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004669/0.8539, allocations: 0.9724 MB / 0.7193 GB, free: 136 MB / 0.4948 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.01038/0.8643, allocations: 7.502 MB / 0.7266 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009546/0.8739, allocations: 6.098 MB / 0.7325 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8739, allocations: 0 / 0.7325 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.8774, allocations: 2.463 MB / 0.735 GB, free: 129 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.8803, allocations: 333.4 kB / 0.7353 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04536/0.9257, allocations: 32.73 MB / 0.7672 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/0.9289, allocations: 3.032 MB / 0.7702 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/0.9312, allocations: 1.753 MB / 0.7719 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.9312, allocations: 0 / 0.7719 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.364/8.295, allocations: 136.1 MB / 0.9048 GB, free: 161.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches