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.001618/0.001618, allocations: 82.58 kB / 20.68 MB, free: 1.035 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.001948/0.001948, allocations: 163.2 kB / 23.95 MB, free: 4.168 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.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.2119/0.2119, allocations: 34.27 MB / 295 MB, free: 14.58 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 1.273e-06/1.273e-06, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.319e-05, allocations: 6.281 kB / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1923/0.1923, allocations: 9.246 MB / 451.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.1982, allocations: 3.095 MB / 455 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.1993, allocations: 69.06 kB / 455.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.2039, allocations: 2.42 MB / 457.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.2077, allocations: 1.3 MB / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.209, allocations: 0.5437 MB / 459.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004496/0.2134, allocations: 2.992 MB / 462.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.2168, allocations: 2.451 MB / 464.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.2198, allocations: 1.901 MB / 466.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.2223, allocations: 1.658 MB / 468.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005746/0.2229, allocations: 294.4 kB / 468.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.2248, allocations: 0.9662 MB / 469.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.2264, allocations: 1.671 MB / 471.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.2278, allocations: 1.091 MB / 472.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.2343, allocations: 6.227 MB / 478.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2343, allocations: 0 / 478.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2343, allocations: 0 / 478.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.2344, allocations: 0 / 478.6 MB, free: 0.7109 MB / 366.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.008378/0.2428, allocations: 4.233 MB / 482.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2428, allocations: 10 kB / 482.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006698/0.2495, allocations: 1.885 MB / 484.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.2534, allocations: 1.72 MB / 486.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.2536, allocations: 226.1 kB / 486.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006023/0.2542, allocations: 304.3 kB / 487 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.2758, allocations: 10.71 MB / 497.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.276, allocations: 48.7 kB / 497.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.2764, allocations: 143.9 kB / 497.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003801/0.2802, allocations: 2.036 MB / 499.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.3019, allocations: 9.311 MB / 0.4973 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04686/0.3488, allocations: 35.41 MB / 0.5319 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.3608, allocations: 3.749 MB / 0.5355 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.364, allocations: 2.08 MB / 0.5376 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008804/0.3728, allocations: 4.669 MB / 0.5421 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.3728, allocations: 55.81 kB / 0.5422 GB, free: 3.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.508e-06/0.3728, allocations: 0 / 0.5422 GB, free: 3.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.0891/0.4619, allocations: 22.41 MB / 0.5641 GB, free: 13.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.4621, allocations: 149.8 kB / 0.5642 GB, free: 13.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007516/0.4696, allocations: 3.087 MB / 0.5672 GB, free: 10 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004612/0.47, allocations: 53.7 kB / 0.5673 GB, free: 9.945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.4724, allocations: 2.923 MB / 0.5701 GB, free: 6.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.4736, allocations: 0.8139 MB / 0.5709 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/0.4761, allocations: 1.191 MB / 0.5721 GB, free: 4.969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4763, allocations: 354.2 kB / 0.5724 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004202/0.4805, allocations: 2.342 MB / 0.5747 GB, free: 2.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/0.4879, allocations: 5.796 MB / 0.5804 GB, free: 10.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/0.5008, allocations: 8.815 MB / 0.589 GB, free: 248 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001592/0.5009, allocations: 43.94 kB / 0.589 GB, free: 204 kB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01876/0.5197, allocations: 8.656 MB / 0.5975 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.5198, allocations: 62.22 kB / 0.5975 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/0.52, allocations: 127.9 kB / 0.5976 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.5232, allocations: 1.041 MB / 0.5987 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/0.5285, allocations: 1.372 MB / 0.6 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.5353, allocations: 5.525 MB / 0.6054 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/0.5396, allocations: 335.6 kB / 0.6057 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.5407, allocations: 363.9 kB / 0.6061 GB, free: 14.5 MB / 0.5137 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.004238/0.5449, allocations: 1.932 MB / 0.6079 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007771/0.5457, allocations: 286.2 kB / 0.6082 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0083/0.554, allocations: 3.92 MB / 0.6121 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.554, allocations: 23.94 kB / 0.6121 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.554, allocations: 8 kB / 0.6121 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.5541, allocations: 11.97 kB / 0.6121 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.5713, allocations: 7.647 MB / 0.6196 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.5713, allocations: 384 / 0.6196 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/0.5734, allocations: 351.5 kB / 0.6199 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/0.5763, allocations: 0.8735 MB / 0.6207 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/0.5766, allocations: 43.97 kB / 0.6208 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/0.5827, allocations: 4.842 MB / 0.6255 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5827, allocations: 7.969 kB / 0.6255 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.5953, allocations: 6.874 MB / 0.6322 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/0.5961, allocations: 242 kB / 0.6325 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006839/0.5967, allocations: 32 kB / 0.6325 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.5985, allocations: 115.8 kB / 0.6326 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/0.599, allocations: 121.1 kB / 0.6327 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/0.5992, allocations: 59.98 kB / 0.6328 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003489/0.6026, allocations: 1.725 MB / 0.6345 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6026, allocations: 3.938 kB / 0.6345 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005104/0.6078, allocations: 0.9453 MB / 0.6354 GB, free: 72 kB / 0.5294 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.2095/0.8173, allocations: 167.7 kB / 0.6356 GB, free: 170 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01213/0.8294, allocations: 5.768 MB / 0.6412 GB, free: 169 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8294, allocations: 0 / 0.6412 GB, free: 169 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004467/0.8339, allocations: 2.187 MB / 0.6433 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.836, allocations: 288.7 kB / 0.6436 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.854, allocations: 9.015 MB / 0.6524 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/0.8581, allocations: 2.479 MB / 0.6548 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004515/0.8626, allocations: 1.818 MB / 0.6566 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/0.8634, allocations: 221.2 kB / 0.6568 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.844e-06/0.8634, allocations: 0 / 0.6568 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05369/0.917, allocations: 29.68 MB / 0.6858 GB, free: 143.9 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/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: 7.03562717884779]