Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001754/0.001754, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002061/0.002061, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3317/0.3317, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.99e-05, allocations: 6.25 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01384/0.01387, allocations: 9.252 MB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.0214, allocations: 3.1 MB / 387.6 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.02273, allocations: 71.62 kB / 387.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006229/0.02895, allocations: 2.445 MB / 390.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.03342, allocations: 1.313 MB / 391.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.0351, allocations: 0.5416 MB / 392 MB, free: 4.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005007/0.0401, allocations: 2.986 MB / 395 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/0.04427, allocations: 2.52 MB / 397.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.04805, allocations: 1.902 MB / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.05115, allocations: 1.66 MB / 401.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.05182, allocations: 292 kB / 401.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.05404, allocations: 0.9594 MB / 402.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.05587, allocations: 1.667 MB / 404 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.05767, allocations: 1.094 MB / 405.1 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008777/0.06644, allocations: 6.226 MB / 411.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.06645, allocations: 0 / 411.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.06645, allocations: 3.938 kB / 411.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002424/0.0667, allocations: 0 / 411.3 MB, free: 0.7773 MB / 378.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.01154/0.07823, allocations: 4.233 MB / 415.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.07828, allocations: 8.031 kB / 415.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.08613, allocations: 2.346 MB / 417.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.09047, allocations: 1.74 MB / 419.6 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.0907, allocations: 230.1 kB / 419.8 MB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/0.0915, allocations: 304.2 kB / 420.1 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/0.1145, allocations: 10.7 MB / 430.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.1146, allocations: 31.69 kB / 430.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/0.1151, allocations: 143.9 kB / 431 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004036/0.1191, allocations: 2.044 MB / 433.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.1417, allocations: 9.297 MB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1859/0.3276, allocations: 35.51 MB / 477.9 MB, free: 72.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009585/0.3372, allocations: 3.744 MB / 481.6 MB, free: 71.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.3393, allocations: 2.088 MB / 483.7 MB, free: 71.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006502/0.3458, allocations: 4.668 MB / 488.4 MB, free: 68.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3459, allocations: 52.47 kB / 488.4 MB, free: 68.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 3.777e-06/0.3459, allocations: 0 / 488.4 MB, free: 68.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05926/0.4051, allocations: 22.63 MB / 0.4991 GB, free: 59.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4052, allocations: 158.5 kB / 0.4992 GB, free: 59.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.4088, allocations: 3.084 MB / 0.5022 GB, free: 57.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.4091, allocations: 61.7 kB / 0.5023 GB, free: 57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.4103, allocations: 2.926 MB / 0.5052 GB, free: 54.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/0.4109, allocations: 0.8163 MB / 0.5059 GB, free: 53.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.4121, allocations: 1.181 MB / 0.5071 GB, free: 52.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.4122, allocations: 360.2 kB / 0.5074 GB, free: 52.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.4149, allocations: 2.335 MB / 0.5097 GB, free: 50.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.4187, allocations: 5.794 MB / 0.5154 GB, free: 43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007475/0.4262, allocations: 8.821 MB / 0.524 GB, free: 32.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.206e-05/0.4263, allocations: 32 kB / 0.524 GB, free: 32.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01225/0.4385, allocations: 8.976 MB / 0.5328 GB, free: 23.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/0.4386, allocations: 56.19 kB / 0.5328 GB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.362e-05/0.4387, allocations: 128 kB / 0.533 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.4413, allocations: 1.077 MB / 0.534 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004113/0.4454, allocations: 1.388 MB / 0.5354 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.4497, allocations: 5.542 MB / 0.5408 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/0.4539, allocations: 331.5 kB / 0.5411 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007055/0.4546, allocations: 359.4 kB / 0.5414 GB, free: 14.39 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.002316/0.4569, allocations: 1.942 MB / 0.5433 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/0.4576, allocations: 338.1 kB / 0.5437 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/0.4636, allocations: 3.92 MB / 0.5475 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/0.4636, allocations: 20 kB / 0.5475 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4636, allocations: 8 kB / 0.5475 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4636, allocations: 15.89 kB / 0.5475 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.4749, allocations: 7.653 MB / 0.555 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4749, allocations: 0 / 0.555 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.4765, allocations: 347.5 kB / 0.5553 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.4793, allocations: 0.9155 MB / 0.5562 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.4795, allocations: 43.98 kB / 0.5563 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/0.4861, allocations: 4.86 MB / 0.561 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4861, allocations: 0 / 0.561 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.4989, allocations: 6.929 MB / 0.5678 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.4997, allocations: 249.9 kB / 0.568 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.5, allocations: 35.94 kB / 0.5681 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.5016, allocations: 123.8 kB / 0.5682 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.502, allocations: 125 kB / 0.5683 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/0.5022, allocations: 56.17 kB / 0.5684 GB, free: 2.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002917/0.5051, allocations: 1.721 MB / 0.57 GB, free: 0.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5051, allocations: 0 / 0.57 GB, free: 0.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004522/0.5096, allocations: 0.9474 MB / 0.571 GB, free: 15.84 MB / 442.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.0004606/0.5101, allocations: 180 kB / 0.5711 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.5216, allocations: 5.761 MB / 0.5768 GB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.5216, allocations: 4 kB / 0.5768 GB, free: 9.898 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005078/0.5267, allocations: 2.195 MB / 0.5789 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.5287, allocations: 299.3 kB / 0.5792 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.5456, allocations: 9.128 MB / 0.5881 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003702/0.5493, allocations: 2.476 MB / 0.5905 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004475/0.5538, allocations: 1.815 MB / 0.5923 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.5546, allocations: 228.4 kB / 0.5925 GB, free: 9.652 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5546, allocations: 0 / 0.5925 GB, free: 9.652 MB / 458.7 MB Notification: Performance of Templates: time 0.1845/0.7391, allocations: 29.87 MB / 0.6217 GB, free: 128.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.751240878016688]