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.0009722/0.0009722, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.0009551/0.0009551, allocations: 163.5 kB / 24.99 MB, free: 8.809 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2656/0.2656, allocations: 34.25 MB / 296 MB, free: 0.6719 MB / 266.7 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.843e-06/1.843e-06, allocations: 0 / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.687e-05, allocations: 2.312 kB / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.00851/0.008537, allocations: 10.16 MB / 388.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.01401, allocations: 3.162 MB / 391.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.01544, allocations: 59.75 kB / 391.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.01865, allocations: 2.546 MB / 394 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.02221, allocations: 1.305 MB / 395.3 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.02336, allocations: 0.5415 MB / 395.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.02692, allocations: 2.997 MB / 398.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.02957, allocations: 2.509 MB / 401.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.03184, allocations: 1.914 MB / 403.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.03353, allocations: 1.703 MB / 404.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.03386, allocations: 296 kB / 405.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.03513, allocations: 0.9478 MB / 406.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.03617, allocations: 1.687 MB / 407.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.03725, allocations: 1.098 MB / 409 MB, free: 3.852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.04123, allocations: 3.997 MB / 413 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.04123, allocations: 0 / 413 MB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.04124, allocations: 3.938 kB / 413 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.037e-05/0.04132, allocations: 0 / 413 MB, free: 15.83 MB / 394.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.00567/0.04699, allocations: 4.584 MB / 417.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.04703, allocations: 8.031 kB / 417.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/0.05076, allocations: 2.272 MB / 419.8 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.05292, allocations: 1.664 MB / 421.5 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.05305, allocations: 222.2 kB / 421.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.05341, allocations: 300.2 kB / 422 MB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009939/0.06335, allocations: 6.81 MB / 428.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-05/0.06343, allocations: 39.7 kB / 428.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.06376, allocations: 139.9 kB / 429 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.06608, allocations: 2.048 MB / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009926/0.07601, allocations: 4.224 MB / 435.3 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1769/0.253, allocations: 40.12 MB / 475.4 MB, free: 65.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.2584, allocations: 2.47 MB / 477.9 MB, free: 65.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.2595, allocations: 0.7522 MB / 478.6 MB, free: 65.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00429/0.2637, allocations: 4.061 MB / 482.7 MB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.2638, allocations: 60.7 kB / 482.7 MB, free: 62.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 3.907e-06/0.2638, allocations: 2.375 kB / 482.7 MB, free: 62.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03143/0.2952, allocations: 15.64 MB / 498.4 MB, free: 58.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2953, allocations: 152.2 kB / 498.5 MB, free: 58.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.2984, allocations: 2.866 MB / 0.4896 GB, free: 57.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.2987, allocations: 57.02 kB / 0.4897 GB, free: 57.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.3, allocations: 3.061 MB / 0.4927 GB, free: 54.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.3008, allocations: 0.8616 MB / 0.4935 GB, free: 54.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.3022, allocations: 1.28 MB / 0.4948 GB, free: 53.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.3023, allocations: 0.5224 MB / 0.4953 GB, free: 52.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.3038, allocations: 0.7667 MB / 0.496 GB, free: 52.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.3068, allocations: 5.871 MB / 0.5018 GB, free: 45.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/0.3117, allocations: 7.376 MB / 0.509 GB, free: 37.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.3118, allocations: 31.97 kB / 0.509 GB, free: 37.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.00881/0.3206, allocations: 5.59 MB / 0.5145 GB, free: 35.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.3207, allocations: 57.16 kB / 0.5145 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/0.3209, allocations: 123.8 kB / 0.5146 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.3225, allocations: 0.6373 MB / 0.5152 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.3255, allocations: 1.384 MB / 0.5166 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.3285, allocations: 4.685 MB / 0.5212 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.3322, allocations: 332.6 kB / 0.5215 GB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/0.3327, allocations: 359.1 kB / 0.5218 GB, free: 29.26 MB / 410.7 MB 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.00156/0.3343, allocations: 0.6305 MB / 0.5224 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/0.3348, allocations: 354.5 kB / 0.5228 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.3379, allocations: 2.009 MB / 0.5247 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.3379, allocations: 25.12 kB / 0.5248 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.338, allocations: 7.938 kB / 0.5248 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.338, allocations: 8.812 kB / 0.5248 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007428/0.3454, allocations: 5.49 MB / 0.5302 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.3454, allocations: 11.62 kB / 0.5302 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/0.3463, allocations: 348.7 kB / 0.5305 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.3474, allocations: 477.1 kB / 0.5309 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.3475, allocations: 37.97 kB / 0.531 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.3494, allocations: 4.065 MB / 0.535 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3494, allocations: 3.938 kB / 0.535 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.3532, allocations: 3.126 MB / 0.538 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.3537, allocations: 253.3 kB / 0.5383 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.3539, allocations: 32 kB / 0.5383 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.3546, allocations: 116.4 kB / 0.5384 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.3548, allocations: 126.4 kB / 0.5385 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.3549, allocations: 56 kB / 0.5386 GB, free: 13.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.3561, allocations: 1.18 MB / 0.5397 GB, free: 12.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3561, allocations: 0 / 0.5397 GB, free: 12.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003683/0.3598, allocations: 0.9505 MB / 0.5406 GB, free: 11.94 MB / 410.7 MB 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.000361/0.3602, allocations: 166.5 kB / 0.5408 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.366, allocations: 3.685 MB / 0.5444 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.366, allocations: 0 / 0.5444 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.368, allocations: 1.431 MB / 0.5458 GB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.3694, allocations: 293.5 kB / 0.5461 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/0.3791, allocations: 7.235 MB / 0.5531 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.3802, allocations: 1.122 MB / 0.5542 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002587/0.3828, allocations: 1.543 MB / 0.5558 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.3834, allocations: 220.5 kB / 0.556 GB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3834, allocations: 0 / 0.556 GB, free: 12.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04357/0.427, allocations: 29.9 MB / 0.5852 GB, free: 14.89 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] 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","",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.411863378016278]