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.001274/0.001274, allocations: 101.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 205.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.09 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 77.94 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1206, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2827/0.4034, allocations: 38.24 MB / 0.5057 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.4193, allocations: 7.706 MB / 0.5132 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008483/0.4278, allocations: 158.5 kB / 0.5134 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005307/0.4332, allocations: 2.276 MB / 0.5156 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.4375, allocations: 1.111 MB / 0.5167 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.4393, allocations: 482 kB / 0.5171 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.4443, allocations: 2.97 MB / 0.52 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005648/0.45, allocations: 3.194 MB / 0.5232 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.4529, allocations: 1.264 MB / 0.5244 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.4559, allocations: 1.903 MB / 0.5262 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.4571, allocations: 294.6 kB / 0.5265 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.4602, allocations: 1.021 MB / 0.5275 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.4626, allocations: 1.609 MB / 0.5291 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.4663, allocations: 1.985 MB / 0.531 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.474, allocations: 6.05 MB / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4741, allocations: 0 / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4741, allocations: 0 / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002936/0.4744, allocations: 2.562 kB / 0.5369 GB, free: 15.3 MB / 398.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.485, allocations: 4.239 MB / 0.5411 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.485, allocations: 15.19 kB / 0.5411 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/0.4866, allocations: 0.7006 MB / 0.5418 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/0.4931, allocations: 1.8 MB / 0.5435 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.497, allocations: 1.752 MB / 0.5453 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.4973, allocations: 230.2 kB / 0.5455 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.4984, allocations: 301.8 kB / 0.5458 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.5229, allocations: 10.65 MB / 0.5562 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.5232, allocations: 39.67 kB / 0.5562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/0.5245, allocations: 149.5 kB / 0.5563 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004358/0.5289, allocations: 2.038 MB / 0.5583 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.5512, allocations: 9.342 MB / 0.5675 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05412/0.6053, allocations: 38.01 MB / 0.6046 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.6168, allocations: 4.188 MB / 0.6087 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.6199, allocations: 2.301 MB / 0.6109 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009191/0.6292, allocations: 6.118 MB / 0.6169 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.6292, allocations: 51.88 kB / 0.6169 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 5.42e-06/0.6293, allocations: 0 / 0.6169 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06743/0.6967, allocations: 22.02 MB / 0.6384 GB, free: 8.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.6968, allocations: 153.8 kB / 0.6386 GB, free: 8.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005974/0.7028, allocations: 3.37 MB / 0.6419 GB, free: 5.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003567/0.7032, allocations: 53.7 kB / 0.6419 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.7052, allocations: 2.797 MB / 0.6447 GB, free: 2.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.7062, allocations: 0.7876 MB / 0.6454 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/0.7087, allocations: 1.198 MB / 0.6466 GB, free: 204 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7089, allocations: 309.1 kB / 0.6469 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/0.7125, allocations: 2.338 MB / 0.6492 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.7184, allocations: 5.788 MB / 0.6548 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.7287, allocations: 8.826 MB / 0.6635 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.7289, allocations: 32 kB / 0.6635 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01696/0.7459, allocations: 8.692 MB / 0.672 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.746, allocations: 59.94 kB / 0.672 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/0.7463, allocations: 125.1 kB / 0.6721 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.7492, allocations: 1.045 MB / 0.6732 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/0.7543, allocations: 1.384 MB / 0.6745 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.7606, allocations: 5.811 MB / 0.6802 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004905/0.7655, allocations: 335.4 kB / 0.6805 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.7669, allocations: 360 kB / 0.6809 GB, free: 9.391 MB / 0.5294 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.004778/0.7717, allocations: 1.938 MB / 0.6828 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009671/0.7726, allocations: 308.1 kB / 0.683 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008572/0.7812, allocations: 3.955 MB / 0.6869 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-05/0.7813, allocations: 24 kB / 0.6869 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.7813, allocations: 4 kB / 0.6869 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.7814, allocations: 15.95 kB / 0.6869 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/0.8007, allocations: 8.906 MB / 0.6956 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.8007, allocations: 0 / 0.6956 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.8028, allocations: 351.5 kB / 0.696 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.8053, allocations: 0.8735 MB / 0.6968 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004367/0.8058, allocations: 39.98 kB / 0.6969 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.811, allocations: 5.098 MB / 0.7019 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.811, allocations: 4.188 kB / 0.7019 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2479/1.059, allocations: 6.892 MB / 0.7086 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.06, allocations: 360.7 kB / 0.7089 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/1.061, allocations: 36.72 kB / 0.709 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.062, allocations: 119.2 kB / 0.7091 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/1.062, allocations: 119.2 kB / 0.7092 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.063, allocations: 55.12 kB / 0.7092 GB, free: 159.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003479/1.066, allocations: 2.075 MB / 0.7113 GB, free: 159.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.066, allocations: 0.9062 kB / 0.7113 GB, free: 159.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00576/1.072, allocations: 0.9552 MB / 0.7122 GB, free: 159.7 MB / 0.545 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.01158/1.083, allocations: 7.541 MB / 0.7196 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.098, allocations: 7.86 MB / 0.7272 GB, free: 155.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.098, allocations: 0 / 0.7272 GB, free: 155.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/1.102, allocations: 2.482 MB / 0.7297 GB, free: 154.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.105, allocations: 351.3 kB / 0.73 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06603/1.171, allocations: 50.2 MB / 0.779 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003842/1.175, allocations: 3.014 MB / 0.782 GB, free: 104.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004544/1.18, allocations: 1.853 MB / 0.7838 GB, free: 102.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/1.182, allocations: 1.714 MB / 0.7855 GB, free: 100.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.182, allocations: 0 / 0.7855 GB, free: 100.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09332/1.275, allocations: 67.75 MB / 0.8516 GB, free: 33.56 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.276, allocations: 237.8 kB / 0.8518 GB, free: 33.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.805/5.08, allocations: 0 / 0.8518 GB, free: 33.3 MB / 0.545 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