Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.0008143/0.0008143, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002036, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007402/0.0007402, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009549/0.001695, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.045/1.045, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1209/1.165, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.3037/0.3037, allocations: 34.87 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0286/0.3323, allocations: 13.23 MB / 292.6 MB, free: 6.457 MB / 282.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.127e-05, allocations: 5.297 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01675/0.01677, allocations: 15.42 MB / 309.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.02886, allocations: 5.482 MB / 314.8 MB, free: 208 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.03136, allocations: 115.5 kB / 314.9 MB, free: 92 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.03559, allocations: 4.239 MB / 319.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.04064, allocations: 2.885 MB / 322 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.04291, allocations: 1.299 MB / 323.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007826/0.05073, allocations: 8.4 MB / 331.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004322/0.05506, allocations: 5.04 MB / 336.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.05974, allocations: 4.648 MB / 341.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.06316, allocations: 4.045 MB / 345.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006207/0.06378, allocations: 0.6016 MB / 346 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.06587, allocations: 1.783 MB / 347.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.06787, allocations: 3.141 MB / 351 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.06993, allocations: 1.78 MB / 352.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006536/0.07646, allocations: 7.329 MB / 360.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.07648, allocations: 0 / 360.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07648, allocations: 0 / 360.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.289e-05/0.07655, allocations: 0 / 360.1 MB, free: 2.684 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.008787/0.08534, allocations: 8.856 MB / 368.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.08538, allocations: 12.92 kB / 368.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.09072, allocations: 2.186 MB / 371.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/0.09447, allocations: 3.043 MB / 374.2 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.09467, allocations: 394.4 kB / 374.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.09542, allocations: 0.5466 MB / 375.1 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009797/0.1052, allocations: 8.685 MB / 383.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.1054, allocations: 75.38 kB / 383.8 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004904/0.1059, allocations: 251.8 kB / 384.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002684/0.1086, allocations: 3.097 MB / 387.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009542/0.1181, allocations: 4.856 MB / 392 MB, free: 1.441 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2357/0.3538, allocations: 50.58 MB / 442.6 MB, free: 65.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/0.3595, allocations: 2.878 MB / 445.5 MB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.3603, allocations: 0.6859 MB / 446.2 MB, free: 64.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008642/0.3689, allocations: 6.962 MB / 453.2 MB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3689, allocations: 70.25 kB / 453.2 MB, free: 64.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 4.048e-06/0.3689, allocations: 0 / 453.2 MB, free: 64.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.0215/0.3904, allocations: 10.55 MB / 463.8 MB, free: 62.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3905, allocations: 168.8 kB / 463.9 MB, free: 62.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/0.3936, allocations: 4.565 MB / 468.5 MB, free: 61.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.3937, allocations: 79.97 kB / 468.6 MB, free: 61.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.395, allocations: 4.833 MB / 473.4 MB, free: 58.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005706/0.3956, allocations: 1.35 MB / 474.8 MB, free: 57.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.3969, allocations: 1.792 MB / 476.6 MB, free: 57.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.3969, allocations: 305.1 kB / 476.8 MB, free: 57.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.3988, allocations: 1.289 MB / 478.1 MB, free: 57.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/0.4021, allocations: 6.626 MB / 484.8 MB, free: 49.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/0.4072, allocations: 8.718 MB / 493.5 MB, free: 39.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-05/0.4072, allocations: 56 kB / 493.5 MB, free: 39.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.007614/0.4148, allocations: 6.907 MB / 0.4887 GB, free: 33.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.4149, allocations: 88 kB / 0.4888 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.4151, allocations: 192 kB / 0.489 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.4171, allocations: 0.9827 MB / 0.4899 GB, free: 32.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.4207, allocations: 2.363 MB / 0.4922 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.4244, allocations: 3.612 MB / 0.4958 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.4277, allocations: 401.1 kB / 0.4962 GB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004113/0.4281, allocations: 489.1 kB / 0.4966 GB, free: 26.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1184): * Single equations (assignments): 1177 * Array equations: 6 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00179/0.4299, allocations: 0.8837 MB / 0.4975 GB, free: 26.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.4303, allocations: 367.4 kB / 0.4978 GB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.4335, allocations: 2.285 MB / 0.5001 GB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4335, allocations: 40 kB / 0.5001 GB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4335, allocations: 8 kB / 0.5001 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.4336, allocations: 11.95 kB / 0.5001 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/0.443, allocations: 8.259 MB / 0.5082 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4431, allocations: 12 kB / 0.5082 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.4442, allocations: 0.5461 MB / 0.5087 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.4447, allocations: 480.3 kB / 0.5092 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.4464, allocations: 0.8528 MB / 0.51 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.4466, allocations: 75.98 kB / 0.5101 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.449, allocations: 2.466 MB / 0.5125 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.449, allocations: 23.88 kB / 0.5125 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.4525, allocations: 3.614 MB / 0.5161 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.4529, allocations: 67.98 kB / 0.5161 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/0.4538, allocations: 72 kB / 0.5162 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.4541, allocations: 240.8 kB / 0.5164 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.4542, allocations: 92.02 kB / 0.5165 GB, free: 7.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.4553, allocations: 1.675 MB / 0.5181 GB, free: 5.594 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4553, allocations: 0.9844 kB / 0.5182 GB, free: 5.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004488/0.4598, allocations: 1.762 MB / 0.5199 GB, free: 3.832 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * Number of states: 2 (j2.s,j2.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 (279): * Single equations (assignments): 272 * Array equations: 6 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/0.4602, allocations: 286.2 kB / 0.5201 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003982/0.4642, allocations: 4.207 MB / 0.5243 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002235/0.4644, allocations: 144 kB / 0.5244 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4657, allocations: 1.124 MB / 0.5255 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.4677, allocations: 0.9936 MB / 0.5265 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.4867, allocations: 13.51 MB / 0.5397 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.4888, allocations: 2.117 MB / 0.5417 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002049/0.4908, allocations: 0.7882 MB / 0.5425 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.4926, allocations: 0.8369 MB / 0.5433 GB, free: 11.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4926, allocations: 0 / 0.5433 GB, free: 11.74 MB / 458.7 MB Notification: Performance of Templates: time 0.075/0.5676, allocations: 57.61 MB / 0.5996 GB, free: 2.793 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.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.792932195588946]