Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009161/0.0009161, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001321/0.001321, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9451/0.9451, allocations: 158.6 MB / 186 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1506/0.1506, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.574e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007222/0.007248, allocations: 10.01 MB / 358.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.01281, allocations: 3.167 MB / 361.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.01439, allocations: 67.69 kB / 361.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.01744, allocations: 2.495 MB / 363.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.02098, allocations: 1.321 MB / 365.2 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.0222, allocations: 0.5377 MB / 365.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.02595, allocations: 3.059 MB / 368.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.02891, allocations: 2.54 MB / 371.3 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.03195, allocations: 2.035 MB / 373.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.03394, allocations: 1.625 MB / 375 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000627/0.03456, allocations: 284 kB / 375.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.03602, allocations: 0.9283 MB / 376.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.03719, allocations: 1.687 MB / 377.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.03873, allocations: 1.106 MB / 379 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.04332, allocations: 3.993 MB / 383 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.04333, allocations: 0 / 383 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.04333, allocations: 0 / 383 MB, free: 6.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000242/0.04357, allocations: 4 kB / 383 MB, free: 6.141 MB / 314.7 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.005828/0.0494, allocations: 4.532 MB / 387.5 MB, free: 1.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.04945, allocations: 8.031 kB / 387.5 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.05215, allocations: 1.329 MB / 388.9 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.05396, allocations: 1.523 MB / 390.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.05408, allocations: 226.2 kB / 390.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.05444, allocations: 304.2 kB / 390.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007254/0.06169, allocations: 5.424 MB / 396.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/0.06177, allocations: 43.62 kB / 396.4 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.06202, allocations: 139.9 kB / 396.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001464/0.06348, allocations: 1.744 MB / 398.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005853/0.06934, allocations: 2.56 MB / 400.8 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03115/0.1005, allocations: 39.88 MB / 440.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005122/0.1056, allocations: 2.119 MB / 442.8 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.1063, allocations: 0.489 MB / 443.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004916/0.1113, allocations: 3.883 MB / 447.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1113, allocations: 54.33 kB / 447.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.009e-06/0.1113, allocations: 3.984 kB / 447.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.1947/0.306, allocations: 8.873 MB / 456.1 MB, free: 100.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.306, allocations: 148.7 kB / 456.3 MB, free: 100.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.3092, allocations: 3.042 MB / 459.3 MB, free: 99.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.3093, allocations: 45.86 kB / 459.3 MB, free: 99.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.3107, allocations: 3.216 MB / 462.6 MB, free: 97.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/0.3113, allocations: 0.7073 MB / 463.3 MB, free: 97.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.3126, allocations: 1.305 MB / 464.6 MB, free: 97.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3127, allocations: 0.5392 MB / 465.1 MB, free: 96.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.3135, allocations: 0.4975 MB / 465.6 MB, free: 96.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.3161, allocations: 5.988 MB / 471.6 MB, free: 89.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005039/0.3211, allocations: 7.286 MB / 478.9 MB, free: 82.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/0.3213, allocations: 36 kB / 478.9 MB, free: 82.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007626/0.3289, allocations: 4.813 MB / 483.7 MB, free: 77.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.329, allocations: 61 kB / 483.8 MB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.3291, allocations: 132 kB / 483.9 MB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/0.3298, allocations: 319.2 kB / 484.2 MB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.3326, allocations: 1.341 MB / 485.6 MB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.3328, allocations: 263.4 kB / 485.8 MB, free: 76.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/0.3387, allocations: 259.5 kB / 486.1 MB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.339, allocations: 311.1 kB / 486.4 MB, free: 75.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004198/0.3432, allocations: 0.6495 MB / 487 MB, free: 74.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/0.3437, allocations: 330 kB / 487.4 MB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.3453, allocations: 1.091 MB / 488.4 MB, free: 73.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.3453, allocations: 20 kB / 488.5 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3453, allocations: 0 / 488.5 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3454, allocations: 7.984 kB / 488.5 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.3612, allocations: 4.311 MB / 492.8 MB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.3612, allocations: 0 / 492.8 MB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/0.3621, allocations: 243.7 kB / 493 MB, free: 68.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000568/0.3626, allocations: 154.8 kB / 493.2 MB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.3627, allocations: 35.98 kB / 493.2 MB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.3627, allocations: 11.94 kB / 493.2 MB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3627, allocations: 0 / 493.2 MB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/0.3683, allocations: 2.115 MB / 495.3 MB, free: 66.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.3694, allocations: 373.8 kB / 495.7 MB, free: 66.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.3697, allocations: 31.98 kB / 495.7 MB, free: 66.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/0.3734, allocations: 24 kB / 495.8 MB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.3735, allocations: 104.7 kB / 495.9 MB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.3736, allocations: 43.98 kB / 495.9 MB, free: 65.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001268/0.3748, allocations: 1.166 MB / 497.1 MB, free: 64.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 497.1 MB, free: 64.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01059/0.3854, allocations: 0.8591 MB / 497.9 MB, free: 63.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/0.3858, allocations: 158.5 kB / 498.1 MB, free: 63.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007792/0.3936, allocations: 2.669 MB / 0.489 GB, free: 61.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3936, allocations: 0 / 0.489 GB, free: 61.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.3972, allocations: 0.6383 MB / 0.4896 GB, free: 60.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.3998, allocations: 280.3 kB / 0.4899 GB, free: 60.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.4114, allocations: 6.958 MB / 0.4967 GB, free: 53.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.4122, allocations: 1.092 MB / 0.4978 GB, free: 51.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.4134, allocations: 443 kB / 0.4982 GB, free: 51.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.4139, allocations: 0.5098 MB / 0.4987 GB, free: 51.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.973e-06/0.4139, allocations: 0 / 0.4987 GB, free: 51.03 MB / 378.7 MB Notification: Performance of Templates: time 0.03619/0.4501, allocations: 23.45 MB / 0.5216 GB, free: 27.69 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.098794401157647]