Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.94 MB / 361.6 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 66.04 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01295/0.326, allocations: 10.57 MB / 0.5722 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.333, allocations: 3.287 MB / 0.5754 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.3345, allocations: 59.75 kB / 0.5755 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.3392, allocations: 2.421 MB / 0.5778 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.3426, allocations: 1.252 MB / 0.5791 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3439, allocations: 0.5224 MB / 0.5796 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.3478, allocations: 2.928 MB / 0.5824 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.3507, allocations: 2.457 MB / 0.5848 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.3525, allocations: 1.289 MB / 0.5861 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.3551, allocations: 1.853 MB / 0.5879 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.3556, allocations: 295.9 kB / 0.5882 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.3575, allocations: 1.034 MB / 0.5892 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.359, allocations: 1.616 MB / 0.5908 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.3609, allocations: 1.961 MB / 0.5927 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.3683, allocations: 6.27 MB / 0.5988 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3683, allocations: 0 / 0.5988 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3683, allocations: 0 / 0.5988 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.3685, allocations: 0 / 0.5988 GB, free: 14.39 MB / 446.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.008182/0.3766, allocations: 4.284 MB / 0.603 GB, free: 10.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3767, allocations: 8.031 kB / 0.603 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005653/0.3823, allocations: 1.831 MB / 0.6048 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.3861, allocations: 1.713 MB / 0.6065 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.3863, allocations: 233.7 kB / 0.6067 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005446/0.3868, allocations: 295.8 kB / 0.607 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.4061, allocations: 10.65 MB / 0.6174 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.4062, allocations: 35.73 kB / 0.6174 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.4066, allocations: 151.8 kB / 0.6176 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/0.4101, allocations: 2.036 MB / 0.6195 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/0.4297, allocations: 9.355 MB / 0.6287 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/0.4835, allocations: 37.79 MB / 0.6656 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.4942, allocations: 3.602 MB / 0.6691 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.4972, allocations: 2.094 MB / 0.6711 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009543/0.5068, allocations: 5.122 MB / 0.6761 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5068, allocations: 55.81 kB / 0.6762 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 4.389e-06/0.5068, allocations: 0 / 0.6762 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.065/0.5718, allocations: 21.84 MB / 0.6975 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.5719, allocations: 153.8 kB / 0.6977 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.5767, allocations: 3.379 MB / 0.701 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.5769, allocations: 57.7 kB / 0.701 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/0.5792, allocations: 2.923 MB / 0.7039 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009647/0.5802, allocations: 0.8295 MB / 0.7047 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.5818, allocations: 1.203 MB / 0.7059 GB, free: 14.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.582, allocations: 309 kB / 0.7062 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/0.5856, allocations: 2.342 MB / 0.7085 GB, free: 12.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006797/0.5924, allocations: 5.788 MB / 0.7141 GB, free: 4.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.6039, allocations: 8.824 MB / 0.7227 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/0.604, allocations: 36 kB / 0.7228 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01537/0.6194, allocations: 8.694 MB / 0.7313 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.6195, allocations: 58.66 kB / 0.7313 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/0.6196, allocations: 120 kB / 0.7314 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/0.6224, allocations: 1.046 MB / 0.7324 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2564/0.8788, allocations: 1.375 MB / 0.7338 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/0.8837, allocations: 5.609 MB / 0.7393 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/0.8878, allocations: 324.3 kB / 0.7396 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007365/0.8885, allocations: 362.8 kB / 0.7399 GB, free: 149.2 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.002593/0.8911, allocations: 1.944 MB / 0.7418 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/0.8916, allocations: 328.9 kB / 0.7421 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.8974, allocations: 3.94 MB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.8974, allocations: 27.36 kB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.8975, allocations: 11.59 kB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.8975, allocations: 7.312 kB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.9095, allocations: 8.768 MB / 0.7546 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.9096, allocations: 2.531 kB / 0.7546 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.9111, allocations: 352 kB / 0.7549 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.9133, allocations: 0.8717 MB / 0.7558 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.9134, allocations: 40.64 kB / 0.7558 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.9173, allocations: 4.921 MB / 0.7606 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9173, allocations: 7.812 kB / 0.7606 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/0.9253, allocations: 6.903 MB / 0.7674 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/0.9261, allocations: 312.9 kB / 0.7677 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.9265, allocations: 32 kB / 0.7677 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.9279, allocations: 119.8 kB / 0.7678 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.9282, allocations: 121.1 kB / 0.7679 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.9284, allocations: 55.97 kB / 0.768 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002329/0.9307, allocations: 2.077 MB / 0.77 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9307, allocations: 0 / 0.77 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003637/0.9343, allocations: 0.9545 MB / 0.7709 GB, free: 127.4 MB / 0.5606 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.0003515/0.9347, allocations: 168.9 kB / 0.7711 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00828/0.943, allocations: 5.775 MB / 0.7767 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.943, allocations: 0 / 0.7767 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/0.9462, allocations: 2.193 MB / 0.7789 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.9481, allocations: 359 kB / 0.7792 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.9599, allocations: 9.681 MB / 0.7887 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/0.9621, allocations: 3.021 MB / 0.7916 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.9633, allocations: 287.4 kB / 0.7919 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.9633, allocations: 0 / 0.7919 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1089/1.072, allocations: 125.1 MB / 0.9141 GB, free: 12.79 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.61472248705104]