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.001482/0.001487, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01304/0.3676, allocations: 10.5 MB / 0.5409 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008422/0.376, allocations: 3.249 MB / 0.5441 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.3786, allocations: 53.5 kB / 0.5441 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00513/0.3838, allocations: 2.376 MB / 0.5464 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.3881, allocations: 1.2 MB / 0.5476 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3897, allocations: 0.518 MB / 0.5481 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004855/0.3946, allocations: 2.932 MB / 0.551 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003901/0.3985, allocations: 3.031 MB / 0.5539 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.4005, allocations: 1.261 MB / 0.5552 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4028, allocations: 1.721 MB / 0.5568 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00059/0.4034, allocations: 292 kB / 0.5571 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.4054, allocations: 0.9987 MB / 0.5581 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.4071, allocations: 1.586 MB / 0.5596 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.4092, allocations: 1.961 MB / 0.5616 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007794/0.417, allocations: 6.261 MB / 0.5677 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4171, allocations: 0 / 0.5677 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4171, allocations: 4 kB / 0.5677 GB, free: 11.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001784/0.4173, allocations: 0 / 0.5677 GB, free: 11.62 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.01058/0.4279, allocations: 4.355 MB / 0.5719 GB, free: 7.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4279, allocations: 12.03 kB / 0.5719 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/0.429, allocations: 0.6952 MB / 0.5726 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005987/0.435, allocations: 1.835 MB / 0.5744 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.4384, allocations: 1.773 MB / 0.5761 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4386, allocations: 221.8 kB / 0.5764 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.4392, allocations: 299.8 kB / 0.5766 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.4601, allocations: 10.66 MB / 0.587 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.4603, allocations: 31.75 kB / 0.5871 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.4607, allocations: 143.9 kB / 0.5872 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/0.4647, allocations: 2.036 MB / 0.5892 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/0.4874, allocations: 9.361 MB / 0.5983 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05147/0.5389, allocations: 37.9 MB / 0.6354 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.5503, allocations: 4.208 MB / 0.6395 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.5535, allocations: 2.311 MB / 0.6417 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008915/0.5624, allocations: 6.113 MB / 0.6477 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5625, allocations: 51.81 kB / 0.6477 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.528e-06/0.5625, allocations: 4 kB / 0.6478 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06691/0.6295, allocations: 22.22 MB / 0.6694 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.6296, allocations: 145.8 kB / 0.6696 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004932/0.6346, allocations: 3.387 MB / 0.6729 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003994/0.635, allocations: 53.7 kB / 0.6729 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.6373, allocations: 2.916 MB / 0.6758 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.6383, allocations: 0.8295 MB / 0.6766 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.6401, allocations: 1.199 MB / 0.6778 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6403, allocations: 312.9 kB / 0.6781 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/0.644, allocations: 2.338 MB / 0.6804 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007298/0.6513, allocations: 5.792 MB / 0.686 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.6637, allocations: 8.822 MB / 0.6946 GB, free: 3.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.6639, allocations: 36 kB / 0.6947 GB, free: 3.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01622/0.6801, allocations: 8.704 MB / 0.7032 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/0.6802, allocations: 60 kB / 0.7032 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/0.6803, allocations: 120.8 kB / 0.7033 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/0.6831, allocations: 1.041 MB / 0.7044 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.6877, allocations: 1.384 MB / 0.7057 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.6944, allocations: 5.819 MB / 0.7114 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/0.6983, allocations: 327.6 kB / 0.7117 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/0.699, allocations: 359.9 kB / 0.712 GB, free: 1.52 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.003274/0.7023, allocations: 1.943 MB / 0.7139 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.7029, allocations: 329.7 kB / 0.7143 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007613/0.7106, allocations: 3.959 MB / 0.7181 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/0.7106, allocations: 24 kB / 0.7181 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.7106, allocations: 4.188 kB / 0.7181 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.7107, allocations: 11.97 kB / 0.7182 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.7263, allocations: 8.811 MB / 0.7268 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.7263, allocations: 0 / 0.7268 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.7281, allocations: 355.5 kB / 0.7271 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.7307, allocations: 0.8734 MB / 0.728 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/0.7309, allocations: 39.92 kB / 0.728 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2542/0.9851, allocations: 5.12 MB / 0.733 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9852, allocations: 3.938 kB / 0.733 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.9956, allocations: 6.924 MB / 0.7398 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9967, allocations: 369.8 kB / 0.7401 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.9972, allocations: 36.84 kB / 0.7401 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.9986, allocations: 121.2 kB / 0.7403 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.9991, allocations: 123 kB / 0.7404 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.9992, allocations: 59.11 kB / 0.7404 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003585/1.003, allocations: 2.071 MB / 0.7425 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/1.003, allocations: 0 / 0.7425 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004036/1.007, allocations: 0.9552 MB / 0.7434 GB, free: 171.4 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.008418/1.015, allocations: 7.572 MB / 0.7508 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007885/1.023, allocations: 6.166 MB / 0.7568 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.023, allocations: 0 / 0.7568 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.027, allocations: 2.479 MB / 0.7592 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.028, allocations: 353.7 kB / 0.7596 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04767/1.076, allocations: 44.21 MB / 0.8027 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/1.079, allocations: 3.022 MB / 0.8057 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003547/1.082, allocations: 1.861 MB / 0.8075 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/1.085, allocations: 1.714 MB / 0.8092 GB, free: 107 MB / 0.5762 GB Notification: Performance of SimCode: time 1.383e-06/1.085, allocations: 0 / 0.8092 GB, free: 107 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.185, allocations: 64.21 MB / 0.8719 GB, free: 43.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.35/21.54, allocations: 14.78 kB / 0.8719 GB, free: 43.13 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