Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001446/0.001446, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001525/0.001525, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9865/0.9865, allocations: 177 MB / 204.8 MB, free: 5.582 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.2863/0.2863, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.392e-05, allocations: 4.422 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01196/0.01199, allocations: 15.43 MB / 394.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.02302, allocations: 5.382 MB / 399.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.02613, allocations: 135.3 kB / 399.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006081/0.03221, allocations: 5.499 MB / 405.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.03745, allocations: 2.768 MB / 407.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.03976, allocations: 1.575 MB / 409.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008705/0.04847, allocations: 9.349 MB / 418.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007798/0.05627, allocations: 6.154 MB / 425 MB, free: 3.605 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007825/0.06409, allocations: 4.276 MB / 429.3 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005659/0.06975, allocations: 4.26 MB / 433.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.07182, allocations: 0.6484 MB / 434.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.07524, allocations: 1.744 MB / 436 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.07878, allocations: 3.612 MB / 439.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003901/0.08268, allocations: 2.271 MB / 441.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1643/0.247, allocations: 7.571 MB / 449.4 MB, free: 67.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.247, allocations: 0 / 449.4 MB, free: 67.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.247, allocations: 0 / 449.4 MB, free: 67.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005078/0.2475, allocations: 0 / 449.4 MB, free: 67.4 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02471/0.2722, allocations: 8.59 MB / 458 MB, free: 64.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.2723, allocations: 15.22 kB / 458 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.2882, allocations: 3.761 MB / 461.8 MB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.302, allocations: 4.45 MB / 466.2 MB, free: 62.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/0.3024, allocations: 381 kB / 466.6 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002806/0.3052, allocations: 0.504 MB / 467.1 MB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.3345, allocations: 9.47 MB / 476.6 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/0.335, allocations: 68.67 kB / 476.6 MB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/0.3367, allocations: 234.2 kB / 476.9 MB, free: 58.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004469/0.3411, allocations: 2.543 MB / 479.4 MB, free: 58.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.3651, allocations: 5.295 MB / 484.7 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/0.4127, allocations: 59.38 MB / 0.5313 GB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007896/0.4206, allocations: 4.042 MB / 0.5353 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.4218, allocations: 1.106 MB / 0.5364 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008129/0.43, allocations: 6.958 MB / 0.5432 GB, free: 19.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.43, allocations: 63.39 kB / 0.5432 GB, free: 19.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 4.238e-06/0.43, allocations: 1.312 kB / 0.5432 GB, free: 19.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.05827/0.4883, allocations: 28.08 MB / 0.5706 GB, free: 7.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4884, allocations: 243.9 kB / 0.5709 GB, free: 7.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.4944, allocations: 4.883 MB / 0.5756 GB, free: 2.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004424/0.4949, allocations: 77.14 kB / 0.5757 GB, free: 2.141 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.4973, allocations: 4.711 MB / 0.5803 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.4985, allocations: 1.348 MB / 0.5816 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/0.5004, allocations: 1.833 MB / 0.5834 GB, free: 10.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5006, allocations: 480.5 kB / 0.5839 GB, free: 9.812 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.5028, allocations: 1.34 MB / 0.5852 GB, free: 8.465 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005238/0.508, allocations: 8.148 MB / 0.5931 GB, free: 13.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0089/0.5169, allocations: 10.55 MB / 0.6034 GB, free: 148 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.856e-05/0.517, allocations: 48 kB / 0.6035 GB, free: 100 kB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.1829/0.6999, allocations: 10.19 MB / 0.6134 GB, free: 133.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.7, allocations: 70.47 kB / 0.6135 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/0.7002, allocations: 158.9 kB / 0.6137 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007582/0.7078, allocations: 3.184 MB / 0.6168 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.7114, allocations: 1.887 MB / 0.6186 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.7231, allocations: 8.317 MB / 0.6267 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.7278, allocations: 0.588 MB / 0.6273 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/0.7285, allocations: 478.9 kB / 0.6278 GB, free: 131 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002305/0.7308, allocations: 0.8225 MB / 0.6286 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.7319, allocations: 0.6025 MB / 0.6292 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.7426, allocations: 5.41 MB / 0.6344 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/0.7426, allocations: 41.91 kB / 0.6345 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/0.7427, allocations: 17.72 kB / 0.6345 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/0.7427, allocations: 16.47 kB / 0.6345 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.7625, allocations: 12.66 MB / 0.6469 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7626, allocations: 9.453 kB / 0.6469 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.7637, allocations: 0.4969 MB / 0.6474 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006702/0.7704, allocations: 2.786 MB / 0.6501 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.7706, allocations: 66.98 kB / 0.6502 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009407/0.78, allocations: 6.737 MB / 0.6567 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.78, allocations: 9.562 kB / 0.6567 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.7903, allocations: 6.998 MB / 0.6636 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000948/0.7913, allocations: 0.5265 MB / 0.6641 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/0.7917, allocations: 60 kB / 0.6642 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.7932, allocations: 309.4 kB / 0.6644 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.7936, allocations: 242.1 kB / 0.6647 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.7937, allocations: 91.98 kB / 0.6648 GB, free: 112.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002609/0.7964, allocations: 2.193 MB / 0.6669 GB, free: 110.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7964, allocations: 0 / 0.6669 GB, free: 110.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004935/0.8013, allocations: 1.959 MB / 0.6688 GB, free: 108.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005541/0.8018, allocations: 269.8 kB / 0.6691 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006179/0.808, allocations: 5.35 MB / 0.6743 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.808, allocations: 0 / 0.6743 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.81, allocations: 1.879 MB / 0.6761 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.8121, allocations: 0.6864 MB / 0.6768 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.8262, allocations: 12.71 MB / 0.6892 GB, free: 87.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.8276, allocations: 2.008 MB / 0.6912 GB, free: 85.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003057/0.8307, allocations: 2.114 MB / 0.6933 GB, free: 83.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/0.8314, allocations: 348.4 kB / 0.6936 GB, free: 83.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/0.8314, allocations: 0 / 0.6936 GB, free: 83.15 MB / 474.7 MB Notification: Performance of Templates: time 0.09804/0.9294, allocations: 74.32 MB / 0.7662 GB, free: 9.426 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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: 5.6700786161236465]