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.001157/0.001156, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.09 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 71.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3302, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01207/0.3423, allocations: 10.49 MB / 0.5419 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.3503, allocations: 3.25 MB / 0.5451 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.3539, allocations: 52.53 kB / 0.5451 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.359, allocations: 2.376 MB / 0.5475 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004676/0.3637, allocations: 1.206 MB / 0.5486 GB, free: 280 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3656, allocations: 0.5179 MB / 0.5491 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005521/0.3711, allocations: 2.928 MB / 0.552 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004902/0.3761, allocations: 3.036 MB / 0.555 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.3784, allocations: 1.265 MB / 0.5562 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.3816, allocations: 1.717 MB / 0.5579 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.383, allocations: 296 kB / 0.5582 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.386, allocations: 0.9987 MB / 0.5591 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.3884, allocations: 1.59 MB / 0.5607 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.3922, allocations: 1.957 MB / 0.5626 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008811/0.4011, allocations: 6.234 MB / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4011, allocations: 0 / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4011, allocations: 0 / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002862/0.4014, allocations: 0 / 0.5687 GB, free: 11.65 MB / 430.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.01228/0.4137, allocations: 4.25 MB / 0.5728 GB, free: 7.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4138, allocations: 8.031 kB / 0.5728 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/0.4205, allocations: 1.805 MB / 0.5746 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.4247, allocations: 1.769 MB / 0.5763 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.425, allocations: 233.7 kB / 0.5766 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.4263, allocations: 299.8 kB / 0.5768 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.4494, allocations: 10.65 MB / 0.5872 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.4496, allocations: 39.59 kB / 0.5873 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001009/0.4507, allocations: 143.9 kB / 0.5874 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.4545, allocations: 2.04 MB / 0.5894 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.4749, allocations: 9.354 MB / 0.5985 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.5269, allocations: 37.83 MB / 0.6355 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/0.5388, allocations: 4.211 MB / 0.6396 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.5419, allocations: 2.305 MB / 0.6419 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009649/0.5516, allocations: 6.096 MB / 0.6478 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.5517, allocations: 55.81 kB / 0.6479 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.961e-06/0.5517, allocations: 0 / 0.6479 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06853/0.6202, allocations: 22.03 MB / 0.6694 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.6204, allocations: 149.8 kB / 0.6695 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.6262, allocations: 3.37 MB / 0.6728 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/0.6267, allocations: 57.7 kB / 0.6729 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.6288, allocations: 2.794 MB / 0.6756 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.63, allocations: 0.7982 MB / 0.6764 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002639/0.6326, allocations: 1.194 MB / 0.6775 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.6327, allocations: 305.1 kB / 0.6778 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.6365, allocations: 2.338 MB / 0.6801 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/0.6431, allocations: 5.792 MB / 0.6858 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.6547, allocations: 8.822 MB / 0.6944 GB, free: 4.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.6548, allocations: 36 kB / 0.6944 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01747/0.6723, allocations: 8.694 MB / 0.7029 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6725, allocations: 56 kB / 0.703 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/0.6728, allocations: 128.1 kB / 0.7031 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/0.6757, allocations: 1.041 MB / 0.7041 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/0.6805, allocations: 1.38 MB / 0.7054 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/0.6867, allocations: 5.815 MB / 0.7111 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.6909, allocations: 323.5 kB / 0.7114 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.6921, allocations: 363.9 kB / 0.7118 GB, free: 2.816 MB / 0.5606 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.004395/0.6965, allocations: 1.943 MB / 0.7137 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/0.6974, allocations: 308 kB / 0.714 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/0.7051, allocations: 3.955 MB / 0.7178 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/0.7052, allocations: 20 kB / 0.7179 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/0.7053, allocations: 8.125 kB / 0.7179 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.7053, allocations: 15.95 kB / 0.7179 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.722, allocations: 8.807 MB / 0.7265 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.722, allocations: 0 / 0.7265 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.7239, allocations: 351.5 kB / 0.7268 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/0.7264, allocations: 0.8735 MB / 0.7277 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003254/0.7268, allocations: 36 kB / 0.7277 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2807/1.007, allocations: 5.124 MB / 0.7327 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.008, allocations: 1.781 kB / 0.7327 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.019, allocations: 6.907 MB / 0.7394 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.02, allocations: 357.1 kB / 0.7398 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/1.021, allocations: 34.69 kB / 0.7398 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.023, allocations: 121.6 kB / 0.7399 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.023, allocations: 115.5 kB / 0.74 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.023, allocations: 59.39 kB / 0.7401 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003427/1.027, allocations: 2.075 MB / 0.7421 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/1.027, allocations: 0 / 0.7421 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004897/1.032, allocations: 0.9506 MB / 0.7431 GB, free: 173 MB / 0.5762 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.0005984/1.032, allocations: 179.6 kB / 0.7432 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.043, allocations: 6.161 MB / 0.7492 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.043, allocations: 5.75 kB / 0.7493 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003859/1.047, allocations: 2.476 MB / 0.7517 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.049, allocations: 355.2 kB / 0.752 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.063, allocations: 9.467 MB / 0.7613 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.066, allocations: 3.02 MB / 0.7642 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.067, allocations: 287.4 kB / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.067, allocations: 0 / 0.7645 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1134/1.18, allocations: 124.9 MB / 0.8864 GB, free: 34.46 MB / 0.5762 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/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