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.001034/0.001034, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.61 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01059/0.1127, allocations: 10.51 MB / 490.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006181/0.1189, allocations: 3.236 MB / 493.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1203, allocations: 55.88 kB / 493.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.1251, allocations: 2.371 MB / 496.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.1288, allocations: 1.213 MB / 497.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1303, allocations: 0.5263 MB / 498 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.1339, allocations: 2.909 MB / 0.4892 GB, free: 272 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.1373, allocations: 3.025 MB / 0.4922 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.139, allocations: 1.254 MB / 0.4934 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.1413, allocations: 1.721 MB / 0.4951 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007916/0.1421, allocations: 296 kB / 0.4953 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.1441, allocations: 1.003 MB / 0.4963 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.1456, allocations: 1.586 MB / 0.4979 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.1481, allocations: 1.961 MB / 0.4998 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.194/0.3421, allocations: 6 MB / 0.5056 GB, free: 20.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3421, allocations: 0 / 0.5056 GB, free: 20.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3422, allocations: 0.9688 kB / 0.5056 GB, free: 20.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002869/0.3425, allocations: 0 / 0.5056 GB, free: 20.92 MB / 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.01205/0.3545, allocations: 4.239 MB / 0.5098 GB, free: 19.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3546, allocations: 10.8 kB / 0.5098 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002156/0.3567, allocations: 0.6985 MB / 0.5105 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006988/0.3637, allocations: 1.803 MB / 0.5122 GB, free: 18.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.3677, allocations: 1.742 MB / 0.5139 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.368, allocations: 233.9 kB / 0.5142 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.3692, allocations: 300.7 kB / 0.5145 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.3888, allocations: 10.66 MB / 0.5249 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.622e-05/0.389, allocations: 40.12 kB / 0.5249 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.3893, allocations: 145.5 kB / 0.525 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.3923, allocations: 2.036 MB / 0.527 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.4082, allocations: 9.358 MB / 0.5362 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.4485, allocations: 38 MB / 0.5733 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.4589, allocations: 4.197 MB / 0.5774 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.4616, allocations: 2.303 MB / 0.5796 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008115/0.4698, allocations: 6.108 MB / 0.5856 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4698, allocations: 58.22 kB / 0.5856 GB, free: 7.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 5.481e-06/0.4698, allocations: 0 / 0.5856 GB, free: 7.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06452/0.5344, allocations: 22.02 MB / 0.6071 GB, free: 1.191 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.5345, allocations: 151.9 kB / 0.6073 GB, free: 1.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/0.54, allocations: 3.369 MB / 0.6106 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004872/0.5405, allocations: 57.7 kB / 0.6106 GB, free: 13.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.5425, allocations: 2.792 MB / 0.6134 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.5436, allocations: 0.7996 MB / 0.6141 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002139/0.5457, allocations: 1.192 MB / 0.6153 GB, free: 8.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5458, allocations: 309.1 kB / 0.6156 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.5495, allocations: 2.337 MB / 0.6179 GB, free: 6.164 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005771/0.5553, allocations: 5.795 MB / 0.6235 GB, free: 14.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.5655, allocations: 8.825 MB / 0.6322 GB, free: 4.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.004e-05/0.5656, allocations: 36 kB / 0.6322 GB, free: 4.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01543/0.5811, allocations: 8.696 MB / 0.6407 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.5813, allocations: 56 kB / 0.6407 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/0.5815, allocations: 120.2 kB / 0.6409 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.5846, allocations: 1.05 MB / 0.6419 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/0.5896, allocations: 1.38 MB / 0.6432 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.5957, allocations: 5.815 MB / 0.6489 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/0.6004, allocations: 331.4 kB / 0.6492 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6014, allocations: 363.5 kB / 0.6496 GB, free: 2.621 MB / 494.1 MB 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.004011/0.6055, allocations: 1.941 MB / 0.6515 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/0.6063, allocations: 304.1 kB / 0.6518 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/0.6138, allocations: 3.983 MB / 0.6556 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.6139, allocations: 20 kB / 0.6557 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6139, allocations: 8 kB / 0.6557 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.6139, allocations: 11.97 kB / 0.6557 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6285, allocations: 8.901 MB / 0.6644 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.6285, allocations: 3.938 kB / 0.6644 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.6302, allocations: 355.5 kB / 0.6647 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.6327, allocations: 0.8696 MB / 0.6656 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.6329, allocations: 36 kB / 0.6656 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/0.6378, allocations: 5.092 MB / 0.6706 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6379, allocations: 4.219 kB / 0.6706 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.6485, allocations: 6.893 MB / 0.6773 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.6496, allocations: 364.8 kB / 0.6777 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007797/0.6504, allocations: 34.19 kB / 0.6777 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.6523, allocations: 119.8 kB / 0.6778 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/0.6527, allocations: 117.1 kB / 0.6779 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.6529, allocations: 58.33 kB / 0.678 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003876/0.6568, allocations: 2.077 MB / 0.68 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6568, allocations: 0 / 0.68 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004689/0.6615, allocations: 0.9492 MB / 0.6809 GB, free: 2.188 MB / 0.5137 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.01025/0.6718, allocations: 7.545 MB / 0.6883 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0125/0.6843, allocations: 7.855 MB / 0.696 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.6843, allocations: 8 kB / 0.696 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.6884, allocations: 2.478 MB / 0.6984 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.691, allocations: 356.9 kB / 0.6987 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2413/0.9323, allocations: 48.43 MB / 0.746 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/0.9348, allocations: 3.016 MB / 0.749 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003662/0.9385, allocations: 1.86 MB / 0.7508 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/0.9402, allocations: 1.708 MB / 0.7525 GB, free: 167.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.9403, allocations: 4 kB / 0.7525 GB, free: 167.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08899/1.029, allocations: 67.78 MB / 0.8187 GB, free: 103.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.79, allocations: 5.688 kB / 0.8187 GB, free: 103.2 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