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.001607/0.001607, allocations: 117.7 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.001925/0.001925, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 76.2 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3103, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01185/0.3222, allocations: 10.5 MB / 0.5408 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00689/0.3291, allocations: 3.247 MB / 0.5439 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.3308, allocations: 51.81 kB / 0.544 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004899/0.3358, allocations: 2.377 MB / 0.5463 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.3394, allocations: 1.209 MB / 0.5475 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.3411, allocations: 0.5124 MB / 0.548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.3457, allocations: 2.938 MB / 0.5509 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004185/0.3499, allocations: 3.011 MB / 0.5538 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.3523, allocations: 1.265 MB / 0.555 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.355, allocations: 1.728 MB / 0.5567 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.356, allocations: 299.9 kB / 0.557 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.3583, allocations: 0.9948 MB / 0.558 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.3603, allocations: 1.586 MB / 0.5595 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002918/0.3632, allocations: 1.961 MB / 0.5614 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007415/0.3707, allocations: 6.24 MB / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3707, allocations: 0 / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3707, allocations: 0 / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002022/0.3709, allocations: 0 / 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.009396/0.3803, allocations: 4.246 MB / 0.5717 GB, free: 7.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3804, allocations: 8.031 kB / 0.5717 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001415/0.3818, allocations: 0.6991 MB / 0.5724 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/0.3882, allocations: 1.813 MB / 0.5741 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.3924, allocations: 1.769 MB / 0.5759 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.3926, allocations: 233.8 kB / 0.5761 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008594/0.3935, allocations: 303.8 kB / 0.5764 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.4135, allocations: 10.65 MB / 0.5868 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.4137, allocations: 39.66 kB / 0.5868 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006146/0.4143, allocations: 143.9 kB / 0.587 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003676/0.418, allocations: 2.044 MB / 0.589 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.4372, allocations: 9.348 MB / 0.5981 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04427/0.4815, allocations: 37.83 MB / 0.635 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.4923, allocations: 4.192 MB / 0.6391 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/0.4952, allocations: 2.316 MB / 0.6414 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009416/0.5047, allocations: 6.092 MB / 0.6473 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.5048, allocations: 55.81 kB / 0.6474 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 6.672e-06/0.5048, allocations: 7.938 kB / 0.6474 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06415/0.5689, allocations: 22.02 MB / 0.6689 GB, free: 1.453 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.569, allocations: 149.8 kB / 0.669 GB, free: 1.273 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/0.5733, allocations: 3.37 MB / 0.6723 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.5737, allocations: 57.7 kB / 0.6724 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.5756, allocations: 2.797 MB / 0.6751 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.5767, allocations: 0.7982 MB / 0.6759 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/0.5786, allocations: 1.19 MB / 0.6771 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5787, allocations: 305.1 kB / 0.6774 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.5826, allocations: 2.342 MB / 0.6796 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006635/0.5893, allocations: 5.785 MB / 0.6853 GB, free: 14.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/0.6, allocations: 8.822 MB / 0.6939 GB, free: 4.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.2e-05/0.6001, allocations: 36 kB / 0.6939 GB, free: 4.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01559/0.6157, allocations: 8.702 MB / 0.7024 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.6158, allocations: 56.19 kB / 0.7025 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.616, allocations: 124 kB / 0.7026 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/0.6188, allocations: 1.045 MB / 0.7036 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/0.6234, allocations: 1.372 MB / 0.705 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/0.6296, allocations: 5.827 MB / 0.7107 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.6338, allocations: 323.6 kB / 0.711 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008727/0.6347, allocations: 360.1 kB / 0.7113 GB, free: 2.164 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.003395/0.6381, allocations: 1.943 MB / 0.7132 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/0.6388, allocations: 308.1 kB / 0.7135 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/0.6463, allocations: 3.951 MB / 0.7174 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/0.6464, allocations: 24 kB / 0.7174 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.6464, allocations: 8 kB / 0.7174 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.6465, allocations: 7.969 kB / 0.7174 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.6637, allocations: 8.819 MB / 0.726 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.6638, allocations: 0 / 0.726 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.6657, allocations: 355.4 kB / 0.7263 GB, free: 2.617 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.6682, allocations: 0.8657 MB / 0.7272 GB, free: 1.738 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/0.6685, allocations: 36 kB / 0.7272 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2438/0.9124, allocations: 5.12 MB / 0.7322 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9124, allocations: 0 / 0.7322 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.9239, allocations: 6.909 MB / 0.739 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.9249, allocations: 361.5 kB / 0.7393 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/0.9257, allocations: 36.25 kB / 0.7394 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.9273, allocations: 118.1 kB / 0.7395 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.9278, allocations: 115.2 kB / 0.7396 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.928, allocations: 58.92 kB / 0.7396 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003952/0.932, allocations: 2.073 MB / 0.7417 GB, free: 172 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.01e-07/0.932, allocations: 0 / 0.7417 GB, free: 172 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004587/0.9366, allocations: 0.9554 MB / 0.7426 GB, free: 171.9 MB / 0.5763 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.009025/0.9456, allocations: 7.552 MB / 0.75 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008315/0.954, allocations: 6.167 MB / 0.756 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.954, allocations: 0 / 0.756 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003538/0.9575, allocations: 2.478 MB / 0.7584 GB, free: 163.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.9598, allocations: 354.3 kB / 0.7587 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05348/1.013, allocations: 44.06 MB / 0.8018 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/1.016, allocations: 3.02 MB / 0.8047 GB, free: 111.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00349/1.019, allocations: 1.865 MB / 0.8065 GB, free: 109.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/1.021, allocations: 1.714 MB / 0.8082 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of SimCode: time 7.01e-07/1.021, allocations: 0 / 0.8082 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09684/1.118, allocations: 65.24 MB / 0.8719 GB, free: 42.98 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/18.73, allocations: 22.38 kB / 0.8719 GB, free: 42.96 MB / 0.5763 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