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.001763/0.001763, 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.001927/0.001927, 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.9998/0.9998, allocations: 177 MB / 204.8 MB, free: 5.602 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.2789/0.2789, 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.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.004e-06/2.004e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.057e-05, allocations: 4.984 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01299/0.01301, allocations: 15.65 MB / 394.4 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008966/0.02198, allocations: 5.271 MB / 399.7 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.02382, allocations: 111.5 kB / 399.8 MB, free: 13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.02858, allocations: 4.462 MB / 404.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.03328, allocations: 2.912 MB / 407.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.03559, allocations: 1.419 MB / 408.6 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006987/0.04258, allocations: 8.793 MB / 417.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/0.04709, allocations: 5.663 MB / 423 MB, free: 5.625 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.05071, allocations: 4.148 MB / 427.2 MB, free: 1.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.0544, allocations: 4.326 MB / 431.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006072/0.05501, allocations: 0.6055 MB / 432.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.05705, allocations: 1.752 MB / 433.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.05933, allocations: 3.542 MB / 437.4 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.06094, allocations: 2.224 MB / 439.6 MB, free: 4.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1847/0.2456, allocations: 7.94 MB / 447.6 MB, free: 65.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2456, allocations: 1.562 kB / 447.6 MB, free: 65.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2457, allocations: 0 / 447.6 MB, free: 65.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003395/0.246, allocations: 0 / 447.6 MB, free: 65.97 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01019/0.2562, allocations: 8.658 MB / 456.2 MB, free: 62.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2562, allocations: 11.94 kB / 456.2 MB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008876/0.2651, allocations: 4.98 MB / 461.2 MB, free: 62.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.2704, allocations: 3.804 MB / 465 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.2706, allocations: 396.1 kB / 465.4 MB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007156/0.2713, allocations: 0.5531 MB / 466 MB, free: 61.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.2856, allocations: 11.29 MB / 477.3 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.2857, allocations: 71.12 kB / 477.3 MB, free: 57.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005579/0.2863, allocations: 249.3 kB / 477.6 MB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/0.2896, allocations: 3.423 MB / 481 MB, free: 56.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.3048, allocations: 6.822 MB / 487.8 MB, free: 55.69 MB / 410.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.04477/0.3496, allocations: 70.58 MB / 0.5453 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/0.3563, allocations: 3.418 MB / 0.5486 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3575, allocations: 0.9903 MB / 0.5496 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.3683, allocations: 7.863 MB / 0.5573 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.3683, allocations: 67.39 kB / 0.5574 GB, free: 2.637 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 4.448e-06/0.3683, allocations: 0 / 0.5574 GB, free: 2.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.03538/0.4037, allocations: 18.64 MB / 0.5756 GB, free: 140 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4038, allocations: 188.2 kB / 0.5757 GB, free: 15.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/0.4094, allocations: 5.104 MB / 0.5807 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.4095, allocations: 79.81 kB / 0.5808 GB, free: 10.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.4122, allocations: 5.368 MB / 0.586 GB, free: 5.418 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000938/0.4132, allocations: 1.368 MB / 0.5874 GB, free: 4.066 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/0.4151, allocations: 2.039 MB / 0.5894 GB, free: 2.016 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4152, allocations: 480.7 kB / 0.5898 GB, free: 1.543 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.417, allocations: 1.147 MB / 0.5909 GB, free: 400 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005642/0.4226, allocations: 9.312 MB / 0.6 GB, free: 3.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1823/0.605, allocations: 11.51 MB / 0.6113 GB, free: 120.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.6051, allocations: 55.06 kB / 0.6113 GB, free: 120.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01178/0.6169, allocations: 8.815 MB / 0.6199 GB, free: 119.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.6169, allocations: 90.19 kB / 0.62 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.6171, allocations: 193.4 kB / 0.6202 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.6196, allocations: 1.132 MB / 0.6213 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.623, allocations: 2.213 MB / 0.6235 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.6279, allocations: 4.585 MB / 0.628 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.6312, allocations: 0.5948 MB / 0.6285 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/0.6317, allocations: 0.5479 MB / 0.6291 GB, free: 116.8 MB / 474.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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002061/0.6337, allocations: 0.9189 MB / 0.63 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006631/0.6344, allocations: 0.5941 MB / 0.6306 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.6393, allocations: 2.913 MB / 0.6334 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.6393, allocations: 36.5 kB / 0.6334 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.6393, allocations: 7.094 kB / 0.6334 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.6393, allocations: 14.48 kB / 0.6335 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.6531, allocations: 9.809 MB / 0.643 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6531, allocations: 17.08 kB / 0.643 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6542, allocations: 0.4961 MB / 0.6435 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.656, allocations: 0.7032 MB / 0.6442 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.6562, allocations: 71.17 kB / 0.6443 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.6596, allocations: 3.462 MB / 0.6477 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.6596, allocations: 17.38 kB / 0.6477 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.6648, allocations: 4.509 MB / 0.6521 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.6654, allocations: 0.4947 MB / 0.6526 GB, free: 108.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.6657, allocations: 68.44 kB / 0.6526 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6667, allocations: 177.3 kB / 0.6528 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.667, allocations: 236.5 kB / 0.653 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.6671, allocations: 111.4 kB / 0.6531 GB, free: 108.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002472/0.6696, allocations: 2.161 MB / 0.6552 GB, free: 107.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6696, allocations: 0 / 0.6552 GB, free: 107.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005148/0.6748, allocations: 1.746 MB / 0.657 GB, free: 107.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005861/0.6754, allocations: 287.3 kB / 0.6572 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00715/0.6825, allocations: 4.954 MB / 0.6621 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6825, allocations: 0 / 0.6621 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.6843, allocations: 1.404 MB / 0.6634 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6863, allocations: 0.6329 MB / 0.6641 GB, free: 101.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.7013, allocations: 12.97 MB / 0.6767 GB, free: 89.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.7029, allocations: 2.13 MB / 0.6788 GB, free: 88.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003164/0.706, allocations: 2.481 MB / 0.6812 GB, free: 86.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007125/0.7067, allocations: 375.5 kB / 0.6816 GB, free: 86.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7067, allocations: 0 / 0.6816 GB, free: 86.26 MB / 474.7 MB Notification: Performance of Templates: time 0.06182/0.7685, allocations: 51.06 MB / 0.7314 GB, free: 38.12 MB / 474.7 MB " [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 -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: 5.304281922988594]