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.0009946/0.0009945, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1999/0.1999, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 63.57 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2738/0.3967, allocations: 37.16 MB / 0.5081 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.4143, allocations: 7.707 MB / 0.5157 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006006/0.4203, allocations: 159.5 kB / 0.5158 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.4215, allocations: 401.7 kB / 0.5162 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.4245, allocations: 1.147 MB / 0.5173 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4256, allocations: 484.4 kB / 0.5178 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006066/0.4317, allocations: 4.289 MB / 0.522 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005692/0.4374, allocations: 4.174 MB / 0.5261 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.4392, allocations: 0.9165 MB / 0.527 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.4414, allocations: 1.583 MB / 0.5285 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.4419, allocations: 130.3 kB / 0.5286 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.4437, allocations: 0.9019 MB / 0.5295 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.4449, allocations: 1.413 MB / 0.5309 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.4462, allocations: 1.77 MB / 0.5326 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.4508, allocations: 5.778 MB / 0.5383 GB, free: 76 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4508, allocations: 4 kB / 0.5383 GB, free: 72 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4508, allocations: 4 kB / 0.5383 GB, free: 68 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.451, allocations: 0 / 0.5383 GB, free: 68 kB / 382.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.006771/0.4577, allocations: 3.443 MB / 0.5416 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4578, allocations: 11 kB / 0.5416 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001144/0.459, allocations: 0.7005 MB / 0.5423 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/0.4653, allocations: 1.844 MB / 0.5441 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.4688, allocations: 1.744 MB / 0.5458 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.469, allocations: 226.3 kB / 0.546 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007777/0.4698, allocations: 301.1 kB / 0.5463 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.4912, allocations: 10.68 MB / 0.5568 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.4915, allocations: 39.59 kB / 0.5568 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009416/0.4924, allocations: 143.3 kB / 0.5569 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003767/0.4962, allocations: 2.041 MB / 0.5589 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.5169, allocations: 9.366 MB / 0.5681 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04956/0.5665, allocations: 38.03 MB / 0.6052 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.5776, allocations: 4.218 MB / 0.6093 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/0.5806, allocations: 2.297 MB / 0.6116 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00931/0.5899, allocations: 6.129 MB / 0.6176 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.59, allocations: 59.8 kB / 0.6176 GB, free: 252 kB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 1.712e-05/0.5901, allocations: 0 / 0.6176 GB, free: 252 kB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.06859/0.6587, allocations: 22.03 MB / 0.6391 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6588, allocations: 161.8 kB / 0.6393 GB, free: 9.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.6639, allocations: 3.366 MB / 0.6426 GB, free: 6.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.6643, allocations: 60.44 kB / 0.6426 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.6662, allocations: 2.791 MB / 0.6453 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.6674, allocations: 0.8004 MB / 0.6461 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000937/0.6683, allocations: 0.4952 MB / 0.6466 GB, free: 2.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6684, allocations: 309.1 kB / 0.6469 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.6724, allocations: 2.346 MB / 0.6492 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007343/0.6798, allocations: 5.796 MB / 0.6549 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.6925, allocations: 8.822 MB / 0.6635 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/0.6927, allocations: 32 kB / 0.6635 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0189/0.7117, allocations: 8.705 MB / 0.672 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.7118, allocations: 56 kB / 0.6721 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/0.7121, allocations: 124 kB / 0.6722 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.7151, allocations: 1.038 MB / 0.6732 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/0.7203, allocations: 1.388 MB / 0.6745 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.7264, allocations: 5.411 MB / 0.6798 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/0.7315, allocations: 327.5 kB / 0.6801 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/0.7331, allocations: 360 kB / 0.6805 GB, free: 11.93 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.005614/0.7387, allocations: 1.942 MB / 0.6824 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.7399, allocations: 311.9 kB / 0.6827 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008881/0.7488, allocations: 3.963 MB / 0.6865 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/0.7489, allocations: 27.92 kB / 0.6866 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.307e-05/0.7489, allocations: 8 kB / 0.6866 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.7489, allocations: 11.95 kB / 0.6866 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.7668, allocations: 8.917 MB / 0.6953 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.7668, allocations: 0 / 0.6953 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.7686, allocations: 359.4 kB / 0.6956 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.771, allocations: 0.8618 MB / 0.6965 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/0.7713, allocations: 36 kB / 0.6965 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.7765, allocations: 4.757 MB / 0.7012 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7765, allocations: 320 / 0.7012 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2599/1.036, allocations: 6.897 MB / 0.7079 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/1.037, allocations: 363.6 kB / 0.7082 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000693/1.038, allocations: 32.61 kB / 0.7083 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.04, allocations: 128.1 kB / 0.7084 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/1.04, allocations: 116.9 kB / 0.7085 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.04, allocations: 53.88 kB / 0.7086 GB, free: 160.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00389/1.044, allocations: 2.074 MB / 0.7106 GB, free: 160.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.71e-07/1.044, allocations: 0 / 0.7106 GB, free: 160.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005119/1.049, allocations: 0.9526 MB / 0.7115 GB, free: 160.2 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.01204/1.061, allocations: 7.563 MB / 0.7189 GB, free: 159.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.072, allocations: 6.137 MB / 0.7249 GB, free: 157.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.072, allocations: 0.875 kB / 0.7249 GB, free: 157.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/1.076, allocations: 2.484 MB / 0.7273 GB, free: 156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.078, allocations: 333.5 kB / 0.7276 GB, free: 155.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06651/1.145, allocations: 50.37 MB / 0.7768 GB, free: 111.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/1.148, allocations: 3.014 MB / 0.7798 GB, free: 108.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004132/1.152, allocations: 1.861 MB / 0.7816 GB, free: 107 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/1.155, allocations: 1.712 MB / 0.7833 GB, free: 105.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/1.155, allocations: 0 / 0.7833 GB, free: 105.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08598/1.241, allocations: 65.59 MB / 0.8473 GB, free: 40.09 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.241, allocations: 222.3 kB / 0.8475 GB, free: 39.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/4.892, allocations: 0 / 0.8475 GB, free: 39.83 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