Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002064/0.002064, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 88.84 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2858/0.2858, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.305e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3893, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.5785, allocations: 105.7 MB / 0.5691 GB, free: 9.617 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5789, allocations: 75.97 kB / 0.5692 GB, free: 9.543 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.303/0.8819, allocations: 69.43 MB / 0.637 GB, free: 3.512 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.882, allocations: 0 / 0.637 GB, free: 3.512 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000214/0.8822, allocations: 75.98 kB / 0.637 GB, free: 3.438 MB / 475.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.3383/1.221, allocations: 3.616 MB / 0.6406 GB, free: 108.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.221, allocations: 9 kB / 0.6406 GB, free: 108.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.236, allocations: 2.061 MB / 0.6426 GB, free: 108.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007844/1.244, allocations: 2.074 MB / 0.6446 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/1.245, allocations: 130.3 kB / 0.6447 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/1.247, allocations: 231.3 kB / 0.645 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01584/1.263, allocations: 6.076 MB / 0.6509 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/1.287, allocations: 9.152 MB / 0.6598 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/1.288, allocations: 55.47 kB / 0.6599 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/1.29, allocations: 29.06 kB / 0.6599 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002772/1.292, allocations: 1.073 MB / 0.661 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/1.354, allocations: 44.37 MB / 0.7043 GB, free: 74.78 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/1.36, allocations: 3.506 MB / 0.7077 GB, free: 72.89 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/1.363, allocations: 2.226 MB / 0.7099 GB, free: 71.93 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008602/1.364, allocations: 0.7102 MB / 0.7106 GB, free: 71.33 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.364, allocations: 63.34 kB / 0.7106 GB, free: 71.27 MB / 475.1 MB Notification: Performance of pre-optimization done (n=190): time 5.21e-06/1.364, allocations: 0 / 0.7106 GB, free: 71.27 MB / 475.1 MB Notification: Performance of matching and sorting (n=235): time 0.07597/1.44, allocations: 23.24 MB / 0.7333 GB, free: 60.72 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/1.44, allocations: 208.5 kB / 0.7335 GB, free: 60.48 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.445, allocations: 2.498 MB / 0.736 GB, free: 58.27 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005814/1.445, allocations: 29.7 kB / 0.736 GB, free: 58.23 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.447, allocations: 2.857 MB / 0.7388 GB, free: 55.62 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.449, allocations: 0.8494 MB / 0.7396 GB, free: 54.85 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/1.449, allocations: 0 / 0.7396 GB, free: 54.85 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003656/1.45, allocations: 0.5778 MB / 0.7402 GB, free: 54.34 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.455, allocations: 2.504 MB / 0.7426 GB, free: 52.08 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007464/1.462, allocations: 6.042 MB / 0.7485 GB, free: 44.62 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007745/1.47, allocations: 3.849 MB / 0.7523 GB, free: 41.31 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.47, allocations: 36 kB / 0.7523 GB, free: 41.27 MB / 475.1 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.02206/1.492, allocations: 8.524 MB / 0.7606 GB, free: 33.85 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.004e-05/1.493, allocations: 64.83 kB / 0.7607 GB, free: 33.79 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.493, allocations: 128 kB / 0.7608 GB, free: 33.66 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/1.497, allocations: 1.052 MB / 0.7619 GB, free: 32.84 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009438/1.507, allocations: 1.477 MB / 0.7633 GB, free: 31.57 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/1.514, allocations: 5.072 MB / 0.7683 GB, free: 26.7 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/1.52, allocations: 225.4 kB / 0.7685 GB, free: 26.53 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.522, allocations: 380.4 kB / 0.7688 GB, free: 26.17 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (777): * Single equations (assignments): 770 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002037/1.524, allocations: 435.6 kB / 0.7692 GB, free: 25.74 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008422/1.525, allocations: 285.1 kB / 0.7695 GB, free: 25.46 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.537, allocations: 4.465 MB / 0.7739 GB, free: 21.71 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.057e-05/1.537, allocations: 25.41 kB / 0.7739 GB, free: 21.69 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.537, allocations: 11.95 kB / 0.7739 GB, free: 21.68 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/1.537, allocations: 14.81 kB / 0.7739 GB, free: 21.68 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.563, allocations: 9.743 MB / 0.7834 GB, free: 12.57 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/1.563, allocations: 4 kB / 0.7834 GB, free: 12.57 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/1.567, allocations: 403.4 kB / 0.7838 GB, free: 12.17 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/1.571, allocations: 0.8628 MB / 0.7847 GB, free: 11.3 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.572, allocations: 8 kB / 0.7847 GB, free: 11.29 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/1.578, allocations: 4.445 MB / 0.789 GB, free: 6.629 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.649e-06/1.578, allocations: 12.38 kB / 0.789 GB, free: 6.621 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.595, allocations: 8.006 MB / 0.7969 GB, free: 14.53 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.598, allocations: 0.7315 MB / 0.7976 GB, free: 13.78 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009243/1.599, allocations: 3.984 kB / 0.7976 GB, free: 13.78 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/1.602, allocations: 95.83 kB / 0.7977 GB, free: 13.68 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006877/1.603, allocations: 133.8 kB / 0.7978 GB, free: 13.55 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/1.603, allocations: 56 kB / 0.7978 GB, free: 13.5 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004193/1.608, allocations: 1.626 MB / 0.7994 GB, free: 11.87 MB / 491.1 MB Notification: Performance of sort global known variables: time 1.262e-06/1.608, allocations: 0 / 0.7994 GB, free: 11.87 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007141/1.615, allocations: 0.8692 MB / 0.8003 GB, free: 11 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008192/1.616, allocations: 160.9 kB / 0.8004 GB, free: 10.85 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01686/1.632, allocations: 6.509 MB / 0.8068 GB, free: 4.305 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.633, allocations: 0 / 0.8068 GB, free: 4.305 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007996/1.641, allocations: 2.773 MB / 0.8095 GB, free: 1.469 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.643, allocations: 218.6 kB / 0.8097 GB, free: 1.254 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/1.667, allocations: 8.523 MB / 0.818 GB, free: 8.719 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007208/1.675, allocations: 3.14 MB / 0.8211 GB, free: 5.562 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/1.677, allocations: 279.4 kB / 0.8214 GB, free: 5.289 MB / 0.4952 GB Notification: Performance of SimCode: time 4.519e-06/1.677, allocations: 0 / 0.8214 GB, free: 5.289 MB / 0.4952 GB Notification: Performance of Templates: time 0.5367/2.214, allocations: 119 MB / 0.9376 GB, free: 64.67 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches