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.001675/0.00168, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002121/0.002121, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 81.73 kB / 416.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1293, allocations: 62.44 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2919/0.4213, allocations: 38.24 MB / 0.5055 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.4415, allocations: 7.752 MB / 0.5131 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007465/0.449, allocations: 163.9 kB / 0.5132 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004785/0.4539, allocations: 2.348 MB / 0.5155 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.4578, allocations: 1.14 MB / 0.5166 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.4592, allocations: 477.7 kB / 0.5171 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00613/0.4654, allocations: 4.287 MB / 0.5213 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004548/0.4699, allocations: 2.986 MB / 0.5242 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.4726, allocations: 1.114 MB / 0.5253 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.4761, allocations: 1.833 MB / 0.5271 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.4773, allocations: 214.2 kB / 0.5273 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.4801, allocations: 0.976 MB / 0.5282 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002324/0.4825, allocations: 1.544 MB / 0.5297 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003485/0.486, allocations: 1.892 MB / 0.5316 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.4929, allocations: 5.949 MB / 0.5374 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4929, allocations: 0 / 0.5374 GB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4929, allocations: 0 / 0.5374 GB, free: 15.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.4931, allocations: 4 kB / 0.5374 GB, free: 15.16 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.009181/0.5023, allocations: 4.241 MB / 0.5415 GB, free: 12.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5023, allocations: 10.84 kB / 0.5415 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.5034, allocations: 0.7008 MB / 0.5422 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.509, allocations: 1.811 MB / 0.544 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.5124, allocations: 1.744 MB / 0.5457 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.5125, allocations: 226.8 kB / 0.5459 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005673/0.5131, allocations: 296.6 kB / 0.5462 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.5327, allocations: 10.66 MB / 0.5566 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.5329, allocations: 31.75 kB / 0.5566 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/0.5333, allocations: 147.4 kB / 0.5568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00337/0.5366, allocations: 2.042 MB / 0.5588 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.5555, allocations: 9.352 MB / 0.5679 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05015/0.6056, allocations: 38.02 MB / 0.605 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.6173, allocations: 4.191 MB / 0.6091 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.6206, allocations: 2.307 MB / 0.6114 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009409/0.63, allocations: 6.122 MB / 0.6173 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6301, allocations: 47.88 kB / 0.6174 GB, free: 14.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=181): time 4.829e-06/0.6301, allocations: 3.984 kB / 0.6174 GB, free: 14.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=210): time 0.06514/0.6953, allocations: 22 MB / 0.6389 GB, free: 8.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.6954, allocations: 149.8 kB / 0.639 GB, free: 7.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.7001, allocations: 3.37 MB / 0.6423 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003845/0.7005, allocations: 53.7 kB / 0.6424 GB, free: 4.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.7022, allocations: 2.803 MB / 0.6451 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.703, allocations: 0.7867 MB / 0.6459 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.7046, allocations: 1.201 MB / 0.647 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.7047, allocations: 309.1 kB / 0.6473 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/0.708, allocations: 2.338 MB / 0.6496 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005535/0.7136, allocations: 5.792 MB / 0.6553 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.7241, allocations: 8.822 MB / 0.6639 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.7242, allocations: 32 kB / 0.6639 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0173/0.7415, allocations: 8.694 MB / 0.6724 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.7417, allocations: 56.94 kB / 0.6725 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/0.7419, allocations: 124 kB / 0.6726 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/0.7448, allocations: 1.034 MB / 0.6736 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004948/0.7498, allocations: 1.384 MB / 0.675 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/0.7557, allocations: 5.413 MB / 0.6802 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/0.7602, allocations: 327.5 kB / 0.6806 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.7613, allocations: 360 kB / 0.6809 GB, free: 9.219 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.003703/0.765, allocations: 1.935 MB / 0.6828 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007387/0.7658, allocations: 319.8 kB / 0.6831 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007449/0.7732, allocations: 3.947 MB / 0.6869 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-05/0.7733, allocations: 30.2 kB / 0.687 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.7734, allocations: 4 kB / 0.687 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.7734, allocations: 11.95 kB / 0.687 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.7916, allocations: 8.915 MB / 0.6957 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.7916, allocations: 0 / 0.6957 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.7934, allocations: 355.5 kB / 0.696 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.7959, allocations: 0.8656 MB / 0.6969 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/0.7963, allocations: 35.98 kB / 0.6969 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.8011, allocations: 4.752 MB / 0.7016 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8011, allocations: 0 / 0.7016 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2095/1.011, allocations: 6.892 MB / 0.7083 GB, free: 192.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.012, allocations: 357.9 kB / 0.7086 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.012, allocations: 36.02 kB / 0.7087 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.014, allocations: 121.6 kB / 0.7088 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.014, allocations: 120.7 kB / 0.7089 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.014, allocations: 58.16 kB / 0.7089 GB, free: 192.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003355/1.018, allocations: 2.074 MB / 0.711 GB, free: 192 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.393e-06/1.018, allocations: 0 / 0.711 GB, free: 192 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005041/1.023, allocations: 0.9553 MB / 0.7119 GB, free: 191.9 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.01067/1.033, allocations: 7.536 MB / 0.7193 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009412/1.043, allocations: 6.134 MB / 0.7253 GB, free: 186.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.043, allocations: 3.156 kB / 0.7253 GB, free: 186.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.046, allocations: 2.481 MB / 0.7277 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.049, allocations: 346.5 kB / 0.728 GB, free: 185 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/1.104, allocations: 50.19 MB / 0.777 GB, free: 140.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/1.107, allocations: 3.018 MB / 0.78 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004083/1.111, allocations: 1.853 MB / 0.7818 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/1.113, allocations: 1.71 MB / 0.7835 GB, free: 133.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.81e-07/1.113, allocations: 0 / 0.7835 GB, free: 133.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07844/1.191, allocations: 66.38 MB / 0.8483 GB, free: 67.41 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/1.191, allocations: 222.3 kB / 0.8485 GB, free: 67.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/5.324, allocations: 0 / 0.8485 GB, free: 67.16 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