Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3589, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.0124/0.3713, allocations: 10.5 MB / 0.5408 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008178/0.3795, allocations: 3.245 MB / 0.5439 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.3821, allocations: 56.97 kB / 0.544 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.3871, allocations: 2.372 MB / 0.5463 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.3912, allocations: 1.206 MB / 0.5475 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3928, allocations: 0.5202 MB / 0.548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.3972, allocations: 2.935 MB / 0.5509 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.4009, allocations: 3.015 MB / 0.5538 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.4031, allocations: 1.269 MB / 0.555 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.4056, allocations: 1.729 MB / 0.5567 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006737/0.4063, allocations: 296 kB / 0.557 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.4082, allocations: 0.9948 MB / 0.558 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.4098, allocations: 1.586 MB / 0.5595 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002256/0.4121, allocations: 1.957 MB / 0.5614 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.4195, allocations: 6.24 MB / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4196, allocations: 0 / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4196, allocations: 0 / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.4197, allocations: 4 kB / 0.5675 GB, free: 11.71 MB / 430.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.008393/0.4281, allocations: 4.246 MB / 0.5717 GB, free: 7.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4282, allocations: 8.031 kB / 0.5717 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009429/0.4292, allocations: 0.6991 MB / 0.5724 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.4349, allocations: 1.809 MB / 0.5741 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.4386, allocations: 1.769 MB / 0.5759 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.4388, allocations: 229.8 kB / 0.5761 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009031/0.4397, allocations: 299.8 kB / 0.5764 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.4613, allocations: 10.65 MB / 0.5868 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.4615, allocations: 39.66 kB / 0.5868 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.4626, allocations: 147.8 kB / 0.587 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.4663, allocations: 2.044 MB / 0.589 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.4867, allocations: 9.352 MB / 0.5981 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05525/0.542, allocations: 37.83 MB / 0.635 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.5534, allocations: 4.188 MB / 0.6391 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.5569, allocations: 2.318 MB / 0.6414 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.5671, allocations: 6.092 MB / 0.6473 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.5672, allocations: 59.81 kB / 0.6474 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.821e-06/0.5672, allocations: 0 / 0.6474 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06714/0.6344, allocations: 22.02 MB / 0.6689 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.6345, allocations: 149.8 kB / 0.669 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005881/0.6404, allocations: 3.378 MB / 0.6723 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000455/0.6409, allocations: 57.69 kB / 0.6724 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.643, allocations: 2.794 MB / 0.6751 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.6442, allocations: 0.7982 MB / 0.6759 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/0.6468, allocations: 1.19 MB / 0.6771 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.647, allocations: 305.1 kB / 0.6774 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/0.6509, allocations: 2.342 MB / 0.6796 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00703/0.658, allocations: 5.792 MB / 0.6853 GB, free: 14.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/0.6699, allocations: 8.82 MB / 0.6939 GB, free: 4.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.67, allocations: 36 kB / 0.6939 GB, free: 4.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01821/0.6883, allocations: 8.695 MB / 0.7024 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.6885, allocations: 58.66 kB / 0.7025 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.6887, allocations: 124 kB / 0.7026 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/0.6916, allocations: 1.046 MB / 0.7036 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/0.6968, allocations: 1.38 MB / 0.705 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.7033, allocations: 5.819 MB / 0.7107 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/0.708, allocations: 327.6 kB / 0.711 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.7093, allocations: 360 kB / 0.7113 GB, free: 2.172 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.004201/0.7135, allocations: 1.935 MB / 0.7132 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008719/0.7144, allocations: 308.1 kB / 0.7135 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008015/0.7224, allocations: 3.955 MB / 0.7174 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/0.7225, allocations: 20 kB / 0.7174 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.7225, allocations: 4 kB / 0.7174 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/0.7226, allocations: 11.97 kB / 0.7174 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.7407, allocations: 8.815 MB / 0.726 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.7408, allocations: 0 / 0.726 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.7426, allocations: 359.4 kB / 0.7263 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.7452, allocations: 0.8618 MB / 0.7272 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/0.7455, allocations: 36 kB / 0.7272 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2988/1.044, allocations: 5.127 MB / 0.7322 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.044, allocations: 1.062 kB / 0.7322 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.055, allocations: 6.905 MB / 0.739 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/1.055, allocations: 361.2 kB / 0.7393 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.056, allocations: 40.39 kB / 0.7394 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.057, allocations: 122.3 kB / 0.7395 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/1.058, allocations: 115.3 kB / 0.7396 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.058, allocations: 55.44 kB / 0.7396 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003757/1.062, allocations: 2.077 MB / 0.7417 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.062, allocations: 0 / 0.7417 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005283/1.067, allocations: 0.9476 MB / 0.7426 GB, free: 172 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.009101/1.076, allocations: 7.56 MB / 0.75 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008413/1.085, allocations: 6.161 MB / 0.756 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.085, allocations: 0 / 0.756 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.088, allocations: 2.485 MB / 0.7584 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/1.09, allocations: 353.5 kB / 0.7588 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05289/1.143, allocations: 44.05 MB / 0.8018 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.146, allocations: 3.022 MB / 0.8047 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003728/1.15, allocations: 1.853 MB / 0.8065 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/1.152, allocations: 1.718 MB / 0.8082 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.152, allocations: 0 / 0.8082 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.253, allocations: 65.24 MB / 0.8719 GB, free: 42.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.14/19.39, allocations: 18.62 kB / 0.8719 GB, free: 42.96 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches