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.001493/0.001493, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001553/0.001553, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.596/1.596, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3573/0.3573, allocations: 34.25 MB / 295.2 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 2.244e-06/2.244e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.933e-05/4.158e-05, allocations: 8.359 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02004/0.02008, allocations: 13.91 MB / 391.1 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.03338, allocations: 5.237 MB / 396.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.03703, allocations: 131.3 kB / 396.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.04906, allocations: 5.331 MB / 401.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009889/0.05895, allocations: 2.76 MB / 404.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.06327, allocations: 1.567 MB / 406.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.07793, allocations: 9.349 MB / 415.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.0882, allocations: 6.146 MB / 421.6 MB, free: 6.285 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.09859, allocations: 4.241 MB / 425.9 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008467/0.1071, allocations: 4.143 MB / 430 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.1092, allocations: 0.6562 MB / 430.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/0.114, allocations: 1.744 MB / 432.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005772/0.1198, allocations: 3.592 MB / 436 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00598/0.1258, allocations: 2.271 MB / 438.3 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1912/0.3169, allocations: 12.26 MB / 450.5 MB, free: 67.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.317, allocations: 0 / 450.5 MB, free: 67.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.317, allocations: 0 / 450.5 MB, free: 67.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003306/0.3173, allocations: 0 / 450.5 MB, free: 67.44 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.02076/0.338, allocations: 8.156 MB / 458.7 MB, free: 64.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3381, allocations: 6.594 kB / 458.7 MB, free: 64.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.3534, allocations: 3.851 MB / 462.5 MB, free: 64.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.365, allocations: 4.976 MB / 467.5 MB, free: 63.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.3655, allocations: 382.3 kB / 467.9 MB, free: 63.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.3677, allocations: 0.5077 MB / 468.4 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/0.3988, allocations: 15.78 MB / 484.2 MB, free: 56.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/0.399, allocations: 67.88 kB / 484.2 MB, free: 56.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.4001, allocations: 234.4 kB / 484.5 MB, free: 56.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.4042, allocations: 2.559 MB / 487 MB, free: 56.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02918/0.4334, allocations: 13.2 MB / 0.4885 GB, free: 52.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06846/0.5018, allocations: 53.46 MB / 0.5407 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/0.5187, allocations: 5.88 MB / 0.5465 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005926/0.5246, allocations: 3.291 MB / 0.5497 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/0.5474, allocations: 9.772 MB / 0.5592 GB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.5475, allocations: 59.66 kB / 0.5593 GB, free: 1.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 6.934e-06/0.5475, allocations: 4 kB / 0.5593 GB, free: 1.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=353): time 0.1757/0.7232, allocations: 48.11 MB / 0.6063 GB, free: 1.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002366/0.7234, allocations: 243.2 kB / 0.6065 GB, free: 1.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1772/0.9006, allocations: 5.645 MB / 0.612 GB, free: 152.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009076/0.9015, allocations: 83.45 kB / 0.6121 GB, free: 152.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.9038, allocations: 4.472 MB / 0.6165 GB, free: 149.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.9053, allocations: 1.33 MB / 0.6178 GB, free: 148.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002552/0.9079, allocations: 1.728 MB / 0.6194 GB, free: 147.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.9079, allocations: 304.2 kB / 0.6197 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/0.9131, allocations: 4.274 MB / 0.6239 GB, free: 145.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008086/0.9211, allocations: 8.868 MB / 0.6326 GB, free: 138 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/0.937, allocations: 13.89 MB / 0.6461 GB, free: 127.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/0.9372, allocations: 44.69 kB / 0.6462 GB, free: 127.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.04169/0.9789, allocations: 17.57 MB / 0.6633 GB, free: 121.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.979, allocations: 78.12 kB / 0.6634 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/0.9792, allocations: 153.7 kB / 0.6636 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/0.997, allocations: 5.615 MB / 0.669 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/1.003, allocations: 1.9 MB / 0.6709 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/1.032, allocations: 22.88 MB / 0.6932 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009004/1.042, allocations: 0.6319 MB / 0.6939 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.043, allocations: 472 kB / 0.6943 GB, free: 93.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * 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 (1023): * Single equations (assignments): 1019 * 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.007329/1.051, allocations: 3.138 MB / 0.6974 GB, free: 90.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.053, allocations: 0.6022 MB / 0.698 GB, free: 89.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/1.074, allocations: 10.99 MB / 0.7087 GB, free: 78.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.357e-05/1.074, allocations: 42.25 kB / 0.7087 GB, free: 78.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.539e-05/1.074, allocations: 12 kB / 0.7088 GB, free: 78.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.074, allocations: 19.94 kB / 0.7088 GB, free: 78.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03759/1.111, allocations: 19.59 MB / 0.7279 GB, free: 59.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/1.112, allocations: 9 kB / 0.7279 GB, free: 59.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.114, allocations: 0.5343 MB / 0.7284 GB, free: 58.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01651/1.131, allocations: 5.153 MB / 0.7335 GB, free: 53.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007528/1.131, allocations: 71.94 kB / 0.7335 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02489/1.156, allocations: 20.35 MB / 0.7534 GB, free: 32.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/1.156, allocations: 19.88 kB / 0.7534 GB, free: 32.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/1.183, allocations: 16.28 MB / 0.7693 GB, free: 16.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.185, allocations: 0.5434 MB / 0.7699 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/1.187, allocations: 68 kB / 0.7699 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.19, allocations: 351.4 kB / 0.7703 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.192, allocations: 254.1 kB / 0.7705 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/1.192, allocations: 95.98 kB / 0.7706 GB, free: 15.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005202/1.197, allocations: 3.398 MB / 0.7739 GB, free: 11.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.197, allocations: 0 / 0.7739 GB, free: 11.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.2025/1.4, allocations: 2 MB / 0.7759 GB, free: 138.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (271): * Single equations (assignments): 267 * 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.001287/1.401, allocations: 275.1 kB / 0.7761 GB, free: 138 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.416, allocations: 9.764 MB / 0.7857 GB, free: 136.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-05/1.416, allocations: 0 / 0.7857 GB, free: 136.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00574/1.422, allocations: 3.686 MB / 0.7893 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/1.428, allocations: 0.6888 MB / 0.7899 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/1.455, allocations: 16.55 MB / 0.8061 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008519/1.464, allocations: 4.35 MB / 0.8103 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008201/1.472, allocations: 2.543 MB / 0.8128 GB, free: 126.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.474, allocations: 338.9 kB / 0.8132 GB, free: 126.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/1.474, allocations: 0 / 0.8132 GB, free: 126.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1083/1.582, allocations: 76.81 MB / 0.8882 GB, free: 61.43 MB / 474.7 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.875171363004483]