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: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 78.75 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1321, allocations: 62.44 MB / 481.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01033/0.1425, allocations: 10.51 MB / 492 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.1485, allocations: 3.24 MB / 495.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.1497, allocations: 51.88 kB / 495.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.1537, allocations: 2.367 MB / 497.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.1567, allocations: 1.213 MB / 498.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1579, allocations: 0.5185 MB / 499.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.1612, allocations: 2.928 MB / 0.4905 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.1641, allocations: 3.021 MB / 0.4935 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.1656, allocations: 1.261 MB / 0.4947 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.1675, allocations: 1.713 MB / 0.4964 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.168, allocations: 296 kB / 0.4966 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.1695, allocations: 1.006 MB / 0.4976 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.1708, allocations: 1.59 MB / 0.4992 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.1725, allocations: 1.957 MB / 0.5011 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2335/0.4061, allocations: 6.237 MB / 0.5072 GB, free: 21.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4061, allocations: 0 / 0.5072 GB, free: 21.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4062, allocations: 0 / 0.5072 GB, free: 21.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002427/0.4064, allocations: 1.406 kB / 0.5072 GB, free: 21.42 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.009882/0.4163, allocations: 4.238 MB / 0.5113 GB, free: 19.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4164, allocations: 9.625 kB / 0.5113 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.4222, allocations: 1.803 MB / 0.5131 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.426, allocations: 1.771 MB / 0.5148 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.4262, allocations: 231.2 kB / 0.515 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.4268, allocations: 307 kB / 0.5153 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.4444, allocations: 10.65 MB / 0.5257 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.551e-05/0.4445, allocations: 40.36 kB / 0.5258 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.4449, allocations: 150.5 kB / 0.5259 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003183/0.4481, allocations: 2.036 MB / 0.5279 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.4638, allocations: 9.358 MB / 0.537 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05709/0.5209, allocations: 37.83 MB / 0.574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.5313, allocations: 4.202 MB / 0.5781 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.5343, allocations: 2.305 MB / 0.5803 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/0.5443, allocations: 6.094 MB / 0.5863 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.5444, allocations: 63.42 kB / 0.5864 GB, free: 7.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 5.39e-06/0.5444, allocations: 0 / 0.5864 GB, free: 7.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.0593/0.6037, allocations: 22.01 MB / 0.6078 GB, free: 1.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.6038, allocations: 157.6 kB / 0.608 GB, free: 1.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.6087, allocations: 3.366 MB / 0.6113 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005013/0.6092, allocations: 60.98 kB / 0.6113 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.6111, allocations: 2.794 MB / 0.6141 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009496/0.6121, allocations: 0.7958 MB / 0.6148 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.6135, allocations: 1.189 MB / 0.616 GB, free: 9.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.6136, allocations: 313 kB / 0.6163 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/0.6168, allocations: 2.335 MB / 0.6186 GB, free: 6.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/0.6222, allocations: 5.797 MB / 0.6242 GB, free: 15.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/0.6319, allocations: 8.818 MB / 0.6329 GB, free: 5.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.803e-05/0.632, allocations: 36 kB / 0.6329 GB, free: 5.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01464/0.6467, allocations: 8.699 MB / 0.6414 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.6468, allocations: 60 kB / 0.6414 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.6469, allocations: 120 kB / 0.6416 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.6495, allocations: 1.037 MB / 0.6426 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/0.6538, allocations: 1.385 MB / 0.6439 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.6598, allocations: 5.813 MB / 0.6496 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/0.6642, allocations: 331.4 kB / 0.6499 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/0.665, allocations: 363.9 kB / 0.6503 GB, free: 3.137 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.002852/0.6679, allocations: 1.937 MB / 0.6522 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/0.6685, allocations: 308 kB / 0.6525 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006717/0.6752, allocations: 3.961 MB / 0.6563 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.6752, allocations: 24 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.6753, allocations: 4 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.6753, allocations: 7.969 kB / 0.6564 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.6896, allocations: 8.889 MB / 0.665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.6897, allocations: 0.6562 kB / 0.665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.6914, allocations: 347.5 kB / 0.6654 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.6937, allocations: 0.8696 MB / 0.6662 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/0.6939, allocations: 39.98 kB / 0.6663 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.6986, allocations: 5.098 MB / 0.6712 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6986, allocations: 3.938 kB / 0.6712 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009789/0.7084, allocations: 6.889 MB / 0.678 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.7094, allocations: 370.5 kB / 0.6783 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/0.7098, allocations: 35.59 kB / 0.6783 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.7112, allocations: 119.8 kB / 0.6785 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.7116, allocations: 117.1 kB / 0.6786 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.7117, allocations: 56 kB / 0.6786 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00279/0.7145, allocations: 2.073 MB / 0.6807 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7145, allocations: 0 / 0.6807 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004454/0.719, allocations: 0.9531 MB / 0.6816 GB, free: 2.66 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.0004486/0.7195, allocations: 169.5 kB / 0.6817 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009579/0.7291, allocations: 6.159 MB / 0.6878 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7291, allocations: 0 / 0.6878 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004051/0.7332, allocations: 2.482 MB / 0.6902 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.7353, allocations: 351 kB / 0.6905 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.7499, allocations: 9.017 MB / 0.6993 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.7531, allocations: 3.021 MB / 0.7023 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004081/0.7572, allocations: 1.857 MB / 0.7041 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/0.758, allocations: 247.4 kB / 0.7043 GB, free: 11.19 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/0.758, allocations: 0 / 0.7043 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Templates: time 0.2683/1.026, allocations: 31.99 MB / 0.7356 GB, free: 188.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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