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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.8 MB / 245.5 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 106.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4261/0.4261, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4252, allocations: 62.01 MB / 0.5152 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03182/0.4571, allocations: 38.49 MB / 0.5527 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01944/0.4766, allocations: 7.878 MB / 0.5604 GB, free: 5.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/0.4889, allocations: 158.1 kB / 0.5606 GB, free: 5.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005075/0.4941, allocations: 2.355 MB / 0.5629 GB, free: 3.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.4988, allocations: 1.15 MB / 0.564 GB, free: 3.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5014, allocations: 483.3 kB / 0.5645 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008122/0.5095, allocations: 4.345 MB / 0.5687 GB, free: 1.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.5134, allocations: 3.002 MB / 0.5716 GB, free: 15.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.5154, allocations: 1.121 MB / 0.5727 GB, free: 14.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.518, allocations: 1.838 MB / 0.5745 GB, free: 12.58 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.5186, allocations: 212 kB / 0.5747 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.5206, allocations: 0.979 MB / 0.5757 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.5222, allocations: 1.554 MB / 0.5772 GB, free: 9.836 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.5247, allocations: 1.922 MB / 0.5791 GB, free: 7.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007217/0.532, allocations: 5.992 MB / 0.5849 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.532, allocations: 0 / 0.5849 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.532, allocations: 0 / 0.5849 GB, free: 1.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.5323, allocations: 0 / 0.5849 GB, free: 1.891 MB / 394.7 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.01178/0.5441, allocations: 4.277 MB / 0.5891 GB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.5442, allocations: 12.03 kB / 0.5891 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.5505, allocations: 1.813 MB / 0.5909 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.5548, allocations: 1.75 MB / 0.5926 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.555, allocations: 229.7 kB / 0.5928 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008764/0.5559, allocations: 295.9 kB / 0.5931 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.5769, allocations: 10.63 MB / 0.6035 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.5771, allocations: 31.75 kB / 0.6035 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.5775, allocations: 143.9 kB / 0.6037 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00337/0.5809, allocations: 2.044 MB / 0.6057 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/0.6005, allocations: 9.328 MB / 0.6148 GB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04739/0.6479, allocations: 38.01 MB / 0.6519 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.6583, allocations: 4.17 MB / 0.656 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/0.6616, allocations: 2.309 MB / 0.6582 GB, free: 4.895 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009618/0.6712, allocations: 6.028 MB / 0.6641 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.6713, allocations: 55.81 kB / 0.6641 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 4.638e-06/0.6714, allocations: 0 / 0.6641 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=210): time 0.3111/0.9825, allocations: 21.93 MB / 0.6856 GB, free: 129.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.9826, allocations: 149 kB / 0.6857 GB, free: 129.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.987, allocations: 3.391 MB / 0.689 GB, free: 127.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003927/0.9874, allocations: 51.73 kB / 0.6891 GB, free: 127.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.9892, allocations: 2.799 MB / 0.6918 GB, free: 125.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008443/0.99, allocations: 0.7912 MB / 0.6926 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.9915, allocations: 1.194 MB / 0.6937 GB, free: 124.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.9915, allocations: 301.1 kB / 0.694 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/0.9944, allocations: 2.331 MB / 0.6963 GB, free: 123.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.9984, allocations: 5.79 MB / 0.702 GB, free: 118 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008944/1.007, allocations: 8.797 MB / 0.7105 GB, free: 110.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.008, allocations: 34.38 kB / 0.7106 GB, free: 110.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01827/1.026, allocations: 8.682 MB / 0.7191 GB, free: 107.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.026, allocations: 57.23 kB / 0.7191 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/1.026, allocations: 120.9 kB / 0.7192 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/1.03, allocations: 1.037 MB / 0.7202 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/1.035, allocations: 1.382 MB / 0.7216 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/1.04, allocations: 5.402 MB / 0.7269 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/1.045, allocations: 322.9 kB / 0.7272 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/1.046, allocations: 368 kB / 0.7275 GB, free: 103.1 MB / 490.7 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.004254/1.05, allocations: 1.934 MB / 0.7294 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008544/1.051, allocations: 308.9 kB / 0.7297 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/1.058, allocations: 3.954 MB / 0.7336 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.058, allocations: 28 kB / 0.7336 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/1.058, allocations: 4.188 kB / 0.7336 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.058, allocations: 7.5 kB / 0.7336 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.073, allocations: 8.894 MB / 0.7423 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.073, allocations: 0 / 0.7423 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.074, allocations: 350.2 kB / 0.7426 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/1.077, allocations: 0.866 MB / 0.7435 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/1.077, allocations: 39.92 kB / 0.7435 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/1.08, allocations: 4.747 MB / 0.7481 GB, free: 86.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.08, allocations: 0 / 0.7481 GB, free: 86.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06468/1.145, allocations: 42.78 MB / 0.7899 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/1.146, allocations: 356.9 kB / 0.7903 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000794/1.147, allocations: 32 kB / 0.7903 GB, free: 43.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.149, allocations: 119.8 kB / 0.7904 GB, free: 43.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004901/1.149, allocations: 117.1 kB / 0.7905 GB, free: 42.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.15, allocations: 55.94 kB / 0.7906 GB, free: 42.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003127/1.153, allocations: 2.081 MB / 0.7926 GB, free: 40.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.153, allocations: 0 / 0.7926 GB, free: 40.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006403/1.159, allocations: 1.299 MB / 0.7939 GB, free: 39.51 MB / 490.7 MB 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.0006144/1.16, allocations: 182.4 kB / 0.794 GB, free: 39.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009172/1.169, allocations: 6.12 MB / 0.8 GB, free: 33.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.169, allocations: 4 kB / 0.8 GB, free: 33.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/1.173, allocations: 2.46 MB / 0.8024 GB, free: 30.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/1.176, allocations: 341.6 kB / 0.8028 GB, free: 30.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.196, allocations: 13.42 MB / 0.8159 GB, free: 16.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.199, allocations: 3.093 MB / 0.8189 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004215/1.203, allocations: 1.915 MB / 0.8208 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009023/1.204, allocations: 259.2 kB / 0.821 GB, free: 11.48 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/1.204, allocations: 0 / 0.821 GB, free: 11.48 MB / 490.7 MB Notification: Performance of Templates: time 0.08215/1.286, allocations: 49.68 MB / 0.8695 GB, free: 9.945 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches