Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2268/0.2268, allocations: 46.89 MB / 361.1 MB, free: 4.707 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-beta.om/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=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-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.88 kB / 0.4968 GB, free: 8.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3555, allocations: 65.97 MB / 0.5612 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.009415/0.3649, allocations: 10.58 MB / 0.5715 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.3715, allocations: 3.28 MB / 0.5747 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.373, allocations: 53.5 kB / 0.5748 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004087/0.3771, allocations: 2.42 MB / 0.5771 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.3805, allocations: 1.245 MB / 0.5784 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3819, allocations: 0.5279 MB / 0.5789 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004681/0.3866, allocations: 2.923 MB / 0.5817 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.3902, allocations: 2.258 MB / 0.5839 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.3932, allocations: 1.265 MB / 0.5852 GB, free: 19.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.3968, allocations: 1.854 MB / 0.587 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009042/0.3977, allocations: 294.7 kB / 0.5873 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.4003, allocations: 1.032 MB / 0.5883 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.4021, allocations: 1.616 MB / 0.5898 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.4044, allocations: 1.968 MB / 0.5918 GB, free: 16.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.415, allocations: 6.26 MB / 0.5979 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.415, allocations: 0 / 0.5979 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.415, allocations: 3.938 kB / 0.5979 GB, free: 13.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002986/0.4153, allocations: 0 / 0.5979 GB, free: 13.5 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.01332/0.4286, allocations: 4.354 MB / 0.6021 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.4287, allocations: 13.47 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.4352, allocations: 1.826 MB / 0.6039 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/0.4403, allocations: 1.782 MB / 0.6057 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4405, allocations: 233.7 kB / 0.6059 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.4417, allocations: 298.3 kB / 0.6062 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.4632, allocations: 10.65 MB / 0.6166 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.4633, allocations: 35.69 kB / 0.6166 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.4638, allocations: 139.9 kB / 0.6168 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003847/0.4676, allocations: 2.04 MB / 0.6187 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.4913, allocations: 9.352 MB / 0.6279 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0598/0.5511, allocations: 37.91 MB / 0.6649 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.5631, allocations: 4.058 MB / 0.6689 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/0.5666, allocations: 2.069 MB / 0.6709 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.5781, allocations: 6.121 MB / 0.6769 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.5782, allocations: 47.88 kB / 0.6769 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 6.342e-06/0.5782, allocations: 4 kB / 0.6769 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.06877/0.6469, allocations: 22.22 MB / 0.6986 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.6471, allocations: 153.8 kB / 0.6988 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/0.6522, allocations: 3.379 MB / 0.7021 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005407/0.6528, allocations: 53.7 kB / 0.7021 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/0.6553, allocations: 2.92 MB / 0.705 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.6565, allocations: 0.8217 MB / 0.7058 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/0.6583, allocations: 1.207 MB / 0.7069 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6585, allocations: 309.1 kB / 0.7072 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/0.6624, allocations: 2.338 MB / 0.7095 GB, free: 12.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007116/0.6695, allocations: 5.792 MB / 0.7152 GB, free: 5.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.6826, allocations: 8.826 MB / 0.7238 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.6827, allocations: 32 kB / 0.7238 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01952/0.7022, allocations: 8.7 MB / 0.7323 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.7023, allocations: 60.03 kB / 0.7324 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/0.7025, allocations: 124 kB / 0.7325 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/0.7055, allocations: 1.034 MB / 0.7335 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/0.7107, allocations: 1.384 MB / 0.7349 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/0.7177, allocations: 5.814 MB / 0.7405 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/0.7225, allocations: 327.6 kB / 0.7409 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/0.7239, allocations: 364 kB / 0.7412 GB, free: 8.652 MB / 0.5762 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.00487/0.7288, allocations: 1.939 MB / 0.7431 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008717/0.7297, allocations: 330 kB / 0.7434 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/0.7382, allocations: 3.939 MB / 0.7473 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.7382, allocations: 19.95 kB / 0.7473 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7383, allocations: 4 kB / 0.7473 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.7394, allocations: 374.8 kB / 0.7476 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.7404, allocations: 32 kB / 0.7477 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/0.7425, allocations: 119.8 kB / 0.7478 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.743, allocations: 129 kB / 0.7479 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009849/0.7528, allocations: 4.522 MB / 0.7523 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009903/0.7627, allocations: 6.239 MB / 0.7584 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002382/0.7651, allocations: 1.533 MB / 0.7599 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004511/0.7696, allocations: 2.073 MB / 0.7619 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of Backend: time 3.21e-07/0.7696, allocations: 0 / 0.7619 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2684/1.038, allocations: 4.634 MB / 0.7665 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0143/1.052, allocations: 8.703 MB / 0.775 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.08151/1.134, allocations: 48.08 MB / 0.8219 GB, free: 148.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.96542435279116]