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.001004/0.001004, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004931/0.005934, allocations: 457.8 kB / 10.45 MB, free: 244 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.0008981/0.0008981, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002165, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9858/0.9858, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09847/1.084, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.2728/0.2728, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02773/0.3005, allocations: 13.24 MB / 292.8 MB, free: 6.352 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 2.344e-06/2.344e-06, allocations: 0 / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.8e-05, allocations: 3.078 kB / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01628/0.01631, allocations: 15.43 MB / 309.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.02764, allocations: 5.474 MB / 315 MB, free: 76 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.03084, allocations: 115.5 kB / 315.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00557/0.03641, allocations: 4.247 MB / 319.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006938/0.04335, allocations: 2.885 MB / 322.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.04611, allocations: 1.302 MB / 323.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.05799, allocations: 8.39 MB / 331.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008515/0.0665, allocations: 5.04 MB / 337 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00966/0.07616, allocations: 4.64 MB / 341.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006221/0.08238, allocations: 4.053 MB / 345.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.08458, allocations: 0.5977 MB / 346.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.08881, allocations: 1.787 MB / 348 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003894/0.09271, allocations: 3.145 MB / 351.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003832/0.09654, allocations: 1.78 MB / 353 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.1074, allocations: 7.309 MB / 360.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.1074, allocations: 3.938 kB / 360.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1074, allocations: 0 / 360.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004812/0.1079, allocations: 0 / 360.3 MB, free: 2.57 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.01587/0.1237, allocations: 8.856 MB / 369.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1238, allocations: 12.92 kB / 369.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/0.1306, allocations: 2.178 MB / 371.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.1364, allocations: 3.043 MB / 374.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.1366, allocations: 394.4 kB / 374.8 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.1381, allocations: 0.5543 MB / 375.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.1565, allocations: 8.689 MB / 384 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.1568, allocations: 67.39 kB / 384.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.1578, allocations: 251.7 kB / 384.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002812/0.1607, allocations: 2.913 MB / 387.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.1738, allocations: 4.859 MB / 392.1 MB, free: 1.512 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.3723/0.5461, allocations: 50.59 MB / 442.7 MB, free: 81.83 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008313/0.5544, allocations: 2.871 MB / 445.5 MB, free: 81.58 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5558, allocations: 0.6882 MB / 446.2 MB, free: 81.54 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.5682, allocations: 6.966 MB / 453.2 MB, free: 80.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5683, allocations: 62.28 kB / 453.3 MB, free: 80.82 MB / 426.8 MB Notification: Performance of pre-optimization done (n=286): time 6.242e-06/0.5683, allocations: 0.5625 kB / 453.3 MB, free: 80.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=352): time 0.03074/0.599, allocations: 11.09 MB / 464.4 MB, free: 80.17 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.599, allocations: 158.8 kB / 464.5 MB, free: 80.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.6032, allocations: 4.561 MB / 469.1 MB, free: 77.73 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004254/0.6036, allocations: 79.08 kB / 469.1 MB, free: 77.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.6049, allocations: 4.843 MB / 474 MB, free: 73.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/0.6058, allocations: 1.344 MB / 475.3 MB, free: 72.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.6071, allocations: 1.797 MB / 477.1 MB, free: 71.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.6071, allocations: 308.8 kB / 477.4 MB, free: 71.08 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.6089, allocations: 1.286 MB / 478.7 MB, free: 70.03 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.6118, allocations: 6.62 MB / 485.3 MB, free: 61.06 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/0.6176, allocations: 9.354 MB / 494.7 MB, free: 49.98 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/0.6177, allocations: 59.94 kB / 494.8 MB, free: 49.92 MB / 426.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01146/0.6292, allocations: 6.914 MB / 0.4899 GB, free: 43.05 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.6292, allocations: 88.06 kB / 0.49 GB, free: 42.96 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.6294, allocations: 204 kB / 0.4902 GB, free: 42.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.6316, allocations: 0.9831 MB / 0.4911 GB, free: 41.79 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/0.6359, allocations: 2.363 MB / 0.4935 GB, free: 39.42 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.6399, allocations: 3.622 MB / 0.497 GB, free: 35.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/0.6451, allocations: 395.7 kB / 0.4974 GB, free: 35.31 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007547/0.6459, allocations: 492 kB / 0.4978 GB, free: 34.83 MB / 426.8 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.00236/0.6482, allocations: 0.8815 MB / 0.4987 GB, free: 33.94 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008183/0.6491, allocations: 363.6 kB / 0.499 GB, free: 33.58 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.6524, allocations: 2.286 MB / 0.5013 GB, free: 31.25 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.6524, allocations: 28 kB / 0.5013 GB, free: 31.22 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.6524, allocations: 11.94 kB / 0.5013 GB, free: 31.21 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.6524, allocations: 15.94 kB / 0.5013 GB, free: 31.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.6652, allocations: 8.255 MB / 0.5094 GB, free: 22.63 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/0.6653, allocations: 27.98 kB / 0.5094 GB, free: 22.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.6665, allocations: 0.5383 MB / 0.5099 GB, free: 22.06 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.6677, allocations: 488.3 kB / 0.5104 GB, free: 21.58 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.6697, allocations: 0.8539 MB / 0.5112 GB, free: 20.73 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.6699, allocations: 71.97 kB / 0.5113 GB, free: 20.66 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.6725, allocations: 2.469 MB / 0.5137 GB, free: 18.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.6725, allocations: 23.94 kB / 0.5137 GB, free: 18.08 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.6766, allocations: 3.63 MB / 0.5173 GB, free: 14.06 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008322/0.6774, allocations: 76.02 kB / 0.5174 GB, free: 13.99 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6785, allocations: 68 kB / 0.5174 GB, free: 13.92 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.6788, allocations: 245.2 kB / 0.5177 GB, free: 13.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.6789, allocations: 87.97 kB / 0.5177 GB, free: 13.59 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001549/0.6805, allocations: 1.673 MB / 0.5194 GB, free: 11.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/0.6805, allocations: 0 / 0.5194 GB, free: 11.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005152/0.6856, allocations: 1.762 MB / 0.5211 GB, free: 10.17 MB / 426.8 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.0005515/0.6862, allocations: 286.7 kB / 0.5214 GB, free: 9.887 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005345/0.6915, allocations: 4.383 MB / 0.5257 GB, free: 5.621 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003087/0.6918, allocations: 152 kB / 0.5258 GB, free: 5.461 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.6946, allocations: 2.027 MB / 0.5278 GB, free: 3.41 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.6985, allocations: 4.12 MB / 0.5318 GB, free: 14.73 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/0.7204, allocations: 13.09 MB / 0.5446 GB, free: 1.348 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/0.7236, allocations: 2.112 MB / 0.5466 GB, free: 15.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00274/0.7263, allocations: 0.7764 MB / 0.5474 GB, free: 14.43 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.7277, allocations: 0.8058 MB / 0.5482 GB, free: 13.62 MB / 458.8 MB Notification: Performance of SimCode: time 1.543e-06/0.7277, allocations: 4 kB / 0.5482 GB, free: 13.62 MB / 458.8 MB Notification: Performance of Templates: time 0.08674/0.8144, allocations: 55.9 MB / 0.6028 GB, free: 6.031 MB / 0.4949 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.576701703481376]