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.001507/0.001507, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001728/0.001728, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.678/1.678, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2743/0.2743, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.002453/0.002453, allocations: 71.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3587, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01316/0.3719, allocations: 9.223 MB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009343/0.3812, allocations: 3.112 MB / 0.5739 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.384, allocations: 59.75 kB / 0.5739 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007973/0.3919, allocations: 2.32 MB / 0.5762 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.398, allocations: 1.256 MB / 0.5774 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.4007, allocations: 0.5224 MB / 0.5779 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007197/0.4079, allocations: 2.912 MB / 0.5808 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007489/0.4154, allocations: 2.445 MB / 0.5832 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.4198, allocations: 1.293 MB / 0.5844 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005633/0.4255, allocations: 1.724 MB / 0.5861 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.4269, allocations: 296 kB / 0.5864 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.4309, allocations: 0.905 MB / 0.5873 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004535/0.4354, allocations: 1.624 MB / 0.5889 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005123/0.4405, allocations: 1.432 MB / 0.5903 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.4574, allocations: 6.286 MB / 0.5964 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.987e-05/0.4574, allocations: 7.938 kB / 0.5964 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4574, allocations: 4 kB / 0.5964 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002584/0.4576, allocations: 0 / 0.5964 GB, free: 0.5742 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.0207/0.4783, allocations: 4.276 MB / 0.6006 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/0.4784, allocations: 8.031 kB / 0.6006 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009744/0.4882, allocations: 1.831 MB / 0.6024 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/0.4939, allocations: 1.729 MB / 0.6041 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.4941, allocations: 229.7 kB / 0.6043 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.4952, allocations: 303.8 kB / 0.6046 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/0.5192, allocations: 10.7 MB / 0.615 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5193, allocations: 43.67 kB / 0.6151 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.5198, allocations: 143.9 kB / 0.6152 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00393/0.5237, allocations: 2.036 MB / 0.6172 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.5465, allocations: 9.32 MB / 0.6263 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05468/0.6012, allocations: 35.41 MB / 0.6609 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.6128, allocations: 3.589 MB / 0.6644 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/0.6161, allocations: 2.09 MB / 0.6664 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009528/0.6256, allocations: 4.621 MB / 0.6709 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.6257, allocations: 51.81 kB / 0.671 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 4.95e-06/0.6257, allocations: 0 / 0.671 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.06936/0.6951, allocations: 21.9 MB / 0.6924 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.6952, allocations: 157.8 kB / 0.6925 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.6999, allocations: 3.08 MB / 0.6955 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003977/0.7003, allocations: 57.64 kB / 0.6956 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.7029, allocations: 2.954 MB / 0.6985 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.704, allocations: 0.8372 MB / 0.6993 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.7059, allocations: 1.195 MB / 0.7005 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.7061, allocations: 365.9 kB / 0.7008 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004088/0.7102, allocations: 2.338 MB / 0.7031 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007565/0.7178, allocations: 5.796 MB / 0.7087 GB, free: 9.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/0.731, allocations: 8.824 MB / 0.7174 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.7312, allocations: 32 kB / 0.7174 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02064/0.7518, allocations: 8.661 MB / 0.7259 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.752, allocations: 60 kB / 0.7259 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/0.7523, allocations: 120 kB / 0.726 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00329/0.7556, allocations: 1.042 MB / 0.727 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005367/0.761, allocations: 1.376 MB / 0.7284 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3381/1.099, allocations: 5.513 MB / 0.7338 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/1.104, allocations: 335.4 kB / 0.7341 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.105, allocations: 357.3 kB / 0.7344 GB, free: 150.3 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.003558/1.109, allocations: 1.94 MB / 0.7363 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/1.11, allocations: 292.3 kB / 0.7366 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/1.116, allocations: 3.913 MB / 0.7404 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.116, allocations: 22.25 kB / 0.7404 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.116, allocations: 3.719 kB / 0.7405 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/1.116, allocations: 11.72 kB / 0.7405 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.13, allocations: 7.637 MB / 0.7479 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.13, allocations: 0 / 0.7479 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.132, allocations: 354.2 kB / 0.7483 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/1.134, allocations: 0.8677 MB / 0.7491 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/1.134, allocations: 35.28 kB / 0.7491 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/1.138, allocations: 4.842 MB / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.138, allocations: 6.781 kB / 0.7539 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/1.148, allocations: 6.87 MB / 0.7606 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/1.148, allocations: 250.7 kB / 0.7608 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.149, allocations: 32 kB / 0.7609 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.15, allocations: 127.1 kB / 0.761 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/1.151, allocations: 128.8 kB / 0.7611 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.151, allocations: 52 kB / 0.7611 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002255/1.153, allocations: 1.721 MB / 0.7628 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.153, allocations: 0 / 0.7628 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004145/1.157, allocations: 0.9454 MB / 0.7637 GB, free: 133.1 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.0004364/1.157, allocations: 172.2 kB / 0.7639 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008565/1.166, allocations: 5.773 MB / 0.7696 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.166, allocations: 0 / 0.7696 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.17, allocations: 2.199 MB / 0.7717 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.172, allocations: 283.8 kB / 0.772 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.185, allocations: 9.646 MB / 0.7814 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/1.188, allocations: 2.473 MB / 0.7838 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.189, allocations: 267.4 kB / 0.7841 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.189, allocations: 0 / 0.7841 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1228/1.312, allocations: 124.4 MB / 0.9056 GB, free: 3.906 MB / 0.5762 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: 14.422432953026146]