Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.0008461/0.0008461, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003274/0.003274, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8481/0.8481, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.143e-05, allocations: 2.281 kB / 443.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1562/0.1563, allocations: 9.103 MB / 452.5 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.1603, allocations: 3.692 MB / 456.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.1608, allocations: 72.62 kB / 456.3 MB, free: 36.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.1626, allocations: 2.119 MB / 458.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1643, allocations: 1.776 MB / 460.2 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.165, allocations: 0.7587 MB / 461 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.1672, allocations: 4.401 MB / 465.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1686, allocations: 2.416 MB / 467.8 MB, free: 32.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.1698, allocations: 1.971 MB / 469.7 MB, free: 31.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.171, allocations: 2.001 MB / 471.7 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.1712, allocations: 271.1 kB / 472 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/0.1722, allocations: 1.132 MB / 473.1 MB, free: 30.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.1728, allocations: 1.77 MB / 474.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.1734, allocations: 1.075 MB / 476 MB, free: 29.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.1769, allocations: 6.252 MB / 482.2 MB, free: 27.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1769, allocations: 0 / 482.2 MB, free: 27.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1769, allocations: 1.125 kB / 482.2 MB, free: 27.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.189e-05/0.177, allocations: 0 / 482.2 MB, free: 27.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.004747/0.1817, allocations: 4.256 MB / 486.5 MB, free: 24.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1818, allocations: 8.938 kB / 486.5 MB, free: 24.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007757/0.1895, allocations: 2.506 MB / 489 MB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.193, allocations: 2.349 MB / 491.4 MB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1931, allocations: 195.3 kB / 491.5 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.1936, allocations: 269.2 kB / 491.8 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009337/0.2029, allocations: 8.674 MB / 0.4888 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.814e-05/0.203, allocations: 49.39 kB / 0.4888 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.2032, allocations: 127 kB / 0.4889 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/0.2049, allocations: 1.736 MB / 0.4906 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008019/0.213, allocations: 7.286 MB / 0.4977 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.2337, allocations: 31.78 MB / 0.5288 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.2386, allocations: 2.993 MB / 0.5317 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.2399, allocations: 1.576 MB / 0.5332 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006616/0.2465, allocations: 6.276 MB / 0.5394 GB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2466, allocations: 47.56 kB / 0.5394 GB, free: 1.773 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.268e-06/0.2466, allocations: 0 / 0.5394 GB, free: 1.773 MB / 442.7 MB Notification: Performance of matching and sorting (n=188): time 0.03454/0.2811, allocations: 20 MB / 0.5589 GB, free: 13.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003792/0.2815, allocations: 197.2 kB / 0.5591 GB, free: 13.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.2847, allocations: 3.644 MB / 0.5627 GB, free: 9.824 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.2848, allocations: 57.64 kB / 0.5627 GB, free: 9.762 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.2861, allocations: 2.911 MB / 0.5656 GB, free: 6.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007429/0.2868, allocations: 0.7404 MB / 0.5663 GB, free: 6.074 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.2879, allocations: 1.199 MB / 0.5675 GB, free: 4.863 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.288, allocations: 301.1 kB / 0.5678 GB, free: 4.566 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.29, allocations: 2.21 MB / 0.5699 GB, free: 2.352 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/0.2939, allocations: 5.817 MB / 0.5756 GB, free: 10.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.3006, allocations: 8.611 MB / 0.584 GB, free: 396 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.584e-05/0.3007, allocations: 36.56 kB / 0.584 GB, free: 360 kB / 490.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0103/0.311, allocations: 9.14 MB / 0.593 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.311, allocations: 60 kB / 0.593 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.898e-05/0.3111, allocations: 124.8 kB / 0.5931 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/0.3141, allocations: 1.66 MB / 0.5948 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.3162, allocations: 1.324 MB / 0.5961 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009631/0.3258, allocations: 9.687 MB / 0.6055 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.3283, allocations: 343.6 kB / 0.6058 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.3286, allocations: 368 kB / 0.6062 GB, free: 9.543 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002217/0.3309, allocations: 1.892 MB / 0.608 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.3312, allocations: 321.8 kB / 0.6084 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.3365, allocations: 4.087 MB / 0.6123 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3365, allocations: 20 kB / 0.6124 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3365, allocations: 13.19 kB / 0.6124 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3365, allocations: 7.969 kB / 0.6124 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/0.346, allocations: 7.585 MB / 0.6198 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3461, allocations: 480 / 0.6198 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.3467, allocations: 259.6 kB / 0.62 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.3493, allocations: 1.429 MB / 0.6214 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.3494, allocations: 31.98 kB / 0.6215 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008375/0.3577, allocations: 9.015 MB / 0.6303 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3577, allocations: 7.875 kB / 0.6303 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1996/0.5573, allocations: 6.699 MB / 0.6368 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.558, allocations: 297.5 kB / 0.6371 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.5582, allocations: 28.5 kB / 0.6371 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.559, allocations: 125.7 kB / 0.6372 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.5592, allocations: 119.2 kB / 0.6374 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/0.5593, allocations: 53.84 kB / 0.6374 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001912/0.5612, allocations: 2.11 MB / 0.6395 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.5612, allocations: 3.688 kB / 0.6395 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002893/0.5641, allocations: 1.048 MB / 0.6405 GB, free: 149.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003392/0.5644, allocations: 170.7 kB / 0.6407 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004413/0.5688, allocations: 5.222 MB / 0.6458 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5688, allocations: 0 / 0.6458 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.5701, allocations: 1.666 MB / 0.6474 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5714, allocations: 349.4 kB / 0.6477 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/0.5802, allocations: 9.021 MB / 0.6565 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.5822, allocations: 2.406 MB / 0.6589 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/0.5829, allocations: 255.8 kB / 0.6591 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/0.5829, allocations: 0 / 0.6591 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.064/0.6469, allocations: 70.31 MB / 0.7278 GB, free: 93.59 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 8.58974439650774]